Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Node.js : Non-blocking thing

Node.js : Non-blocking thing

Scheduled Pinned Locked Moved Design and Architecture
javascriptsysadminapachewindows-adminperformance
43 Posts 6 Posters 44 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Eytukan

    To Node.js Or Not To Node.js - David Haney - Blogging my experiences as a developer and engineering manager.[^] This is a great read. I don't know on what basis lots of reviews were shared in tech-websites, highlighting node's superior scalability and performance over .net/IIS , Php/Apache. They quote a lot of companies who took advantage of moving to Node. But the above article explains things neat. I might do a benchmarking myself to see it in action.

    Full Reset

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #15

    He uses the canonical example of launching a webserver in node, and compares that to:

    Want to do the same thing in .NET? Be prepared to learn about IIS, the Machine.config, the Web.config, the Process Model, how Global.asax works, either ASP.NET MVC or WebForms (huge paradigms in themselves), and how Visual Studio works

    That's rather unfair, and you can do without most of it.

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

    E 1 Reply Last reply
    0
    • P Pete OHanlon

      Eytukan wrote:

      Why MS could not think of dedicated, light weight offering, that can completely open up the world for micro-services patter

      They did. Have you looked into the OWIN stack yet? This is something that Microsoft invested very heavily in with .NET Core. Check out the Kestrel web server[^].

      This space for rent

      E Offline
      E Offline
      Eytukan
      wrote on last edited by
      #16

      Wow, thanks for the pointer, Pete. I've been getting to see this name "Kestral", but was not getting a chance to look at it. This feels great. I've spent enough time learning Microsoft stack, still not an expert. But it's a tiresome thing for me to learn anything non-microsoft. When I get to see something so "great" & that's not Microsoft, I do whine. Because it pushes me to cross the boundary again. I was just getting comfortable with Asp.net Web API2, there comes a landslide of stuff falling on my head to start looking into Node, microservices and completely out of Microsoft. It's just a pain for me to set up a new environment and start learning things and deal with teams to do it. If there's a way to achieve the same objective with Microsoft, that's awesome, I'd first try it out. :) thanks for the reply.

      Full Reset

      1 Reply Last reply
      0
      • L Lost User

        Eytukan wrote:

        First. Thank you for your replies with great manners. :cool:

        Must have gone something wrong here, I'm the rude one usually.

        Eytukan wrote:

        And second, you can easily guess, I'm novice to "Node" or even IIS.

        Write your own "tiny" webserver; all you need is to open a listening socket, and send some files :)

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        E Offline
        E Offline
        Eytukan
        wrote on last edited by
        #17

        Eddy Vluggen wrote:

        Must have gone something wrong here, I'm the rude one usually.

        :laugh:

        Eddy Vluggen wrote:

        Write your own "tiny" webserver; all you need is to open a listening socket, and send some files

        :thumbsup:

        Full Reset

        1 Reply Last reply
        0
        • L Lost User

          He uses the canonical example of launching a webserver in node, and compares that to:

          Want to do the same thing in .NET? Be prepared to learn about IIS, the Machine.config, the Web.config, the Process Model, how Global.asax works, either ASP.NET MVC or WebForms (huge paradigms in themselves), and how Visual Studio works

          That's rather unfair, and you can do without most of it.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

          E Offline
          E Offline
          Eytukan
          wrote on last edited by
          #18

          Yup, "kestrel" might be a right fit for the comparison. Just looking at this after Pete pointed out a while ago. Alright, Now I got the next pile of things to break-head & learn. Kestrel, OWIN, Katana, whatnotana :doh: PS: I was thinking OWIN to be yet another services like OAuth., until I read the article I just posted above loll :-O

          Full Reset

          1 Reply Last reply
          0
          • E Eytukan

            You have missed so many points just with a single reply? 1. First - I'm not anti-MS. I said I'm FOR Microsoft to do things better.

            Nathan Minier wrote:

            ..so, real programming languages already do "non-blocking IO", through this fun concept called "asynchrnous" or "parallel" programming. It's not new,

            You just repeated my statement, did you actually read my original post?

            Nathan Minier wrote:

            You're also confusing a runtime with a software module, which makes me wonder how anyone on this site (outside of QA) can be so uniformed about basic computer operation.

            If I am, with computer operations, you with manners ? :) this is rude, when I'm not claiming here to be an computer expert. I'm merely trying to understand things. That's why I'm here talking people with good manners. Who could explain things. IIS is a server module, doing various things. Yes I can understand, never disagreed. Node - just because it's Javascript. You want to call this just a "run-time"? :) My only question was, Why MS could not think of dedicated, light weight offering, that can completely open up the world for micro-services pattern. (Don't say micro-services has been there before they are called so). Every technology has been there in every era but on a dim light, many times not even seeing the light of day, not doing anything significant. Mainly not reaching to the public usability. Micro-services, mainly after Node took over, YES, it's changing the landscape of a Web-server "module" & distributed computing. When Microsoft had all the technology and equipped with good server experience, they should have thought about a Node like "Run-time" or Light-weight Server "Module" - (Whatever you wish to call).

            Nathan Minier wrote:

            Please think about that for maybe a minute before your uninformed, tiresome, and inevitable anti-MS response.

            Well, thanks for your advice sir! :), but request you to read the messages clear, before trying to post rude replies.

            Full Reset

            N Offline
            N Offline
            Nathan Minier
            wrote on last edited by
            #19

            Eytukan wrote:

            If I am, with computer operations, you with manners ? :) this is rude, when I'm not claiming here to be an computer expert.

            You belittle the work of thousands of engineers based on a completely false premise and a lack of understanding, and I'm rude?

            Eytukan wrote:

            Node - just because it's Javascript. You want to call this just a "run-time"? :)

            It is a runtime. You don't know how interpreted languages work? No? Then why are you even trying to argue the point?

            Eytukan wrote:

            Micro-services, mainly after Node took over, YES, it's changing the landscape of a Web-server "module" & distributed computing.

            Microservices and SoA pre-date Node by quite a bit. What Node does is lower the barrier to entry, but that does not make it more performant nor does it represent a shift in the zeitgeist.

            "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

            E 2 Replies Last reply
            0
            • L Lost User

              There already was an IIS lite; there was both IIS Express and PWS.

              Eytukan wrote:

              But anyway, bummer! they are just followers now. :)

              With most of the world running Windows, that sounds far-fetched at least.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

              J Offline
              J Offline
              jschell
              wrote on last edited by
              #20

              Eddy Vluggen wrote:

              With most of the world running Windows,

              Desktop. Far as I can find server side it is about even.

              L 1 Reply Last reply
              0
              • L Lost User

                Eytukan wrote:

                If IIS was a rhino, IIS express & PWS were baby-rhinos. I was just wishing for a cheeta or a baby cheeta. :-D

                Don't underestimate both power and speed of a rhino. IIS is not a simple webserver, but a rather optimized one, with lots of options.

                Eytukan wrote:

                Keeping aside OS & office tools, of course, Microsoft is following the industry lead by Google ,Amazon & co.

                Technical "lead" is not determined by stock-value. Most of us use .NET, not "Go".

                Eytukan wrote:

                Having thorough expertise over non-blocking I/O, IOCP, MS should have done it first, Before someone else could do a thing called "Node.js"

                Executing JavaScript on a server? While we have .NET there? I can easily open a port and serve whatever I want, without the need for anything like interpreted JavaScript.

                Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                J Offline
                J Offline
                jschell
                wrote on last edited by
                #21

                Eddy Vluggen wrote:

                Most of us use .NET, not "Go".

                Most of who? TIOBE Index | TIOBE - The Software Quality Company[^]

                L 1 Reply Last reply
                0
                • N Nathan Minier

                  Eytukan wrote:

                  Having thorough expertise over non-blocking I/O, IOCP, MS should have done it first, Before someone else could do a thing called "Node.js".

                  ...so, real programming languages already do "non-blocking IO", through this fun concept called "asynchrnous" or "parallel" programming. It's not new, it's been around a long time, and IIS has been leveraging it for well over a decade. You're also confusing a runtime with a software module, which makes me wonder how anyone on this site (outside of QA) can be so uniformed about basic computer operation. The reason Node needs to advertise this capability is that JavaScript does not normally support non-blocking IO. That's because JavaScript was never intended to do the things that Node allow it to. Please think about that for maybe a minute before your uninformed, tiresome, and inevitable anti-MS response.

                  "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

                  J Offline
                  J Offline
                  jschell
                  wrote on last edited by
                  #22

                  Nathan Minier wrote:

                  You're also confusing a runtime with a software module, which makes me wonder how anyone on this site (outside of QA) can be so uniformed about basic computer operation.

                  Perhaps because some of us actually understand how complex the industry has actually gotten. Someone that has worked in nodejs for years focusing on human factors engineering is unlikely to need to know in detail that nodejs actually does use threads much less how it does that. But I suspect that those that are creating the next version should have a strong knowledge of that but that doesn't mean that they do. I worked in an office with probably 20 developers and I was the only one that understood bit manipulation. There was one other person that recognized what I was doing but could not explain what I was doing. That didn't make them stupid people it just meant that they had different areas of expertise than what I did. I worked in one group and being young and inexperienced I was dismissive of another developers programming skills. But once every three months that person, and only that person, would go before a board of people I had never even met to justify what our group did. And every month they allowed us to continue. And the result, which I only learned latter, of failing to do that would be that the group would be disbanded and the members of the group would be required to find another position in the company within two weeks or they would be let go. Now who was really more important to my actual job, me who I thought I could program or the guy that made sure I actually had a job that I could program at?

                  N E 2 Replies Last reply
                  0
                  • E Eytukan

                    In all the docs, it's said that Node makes use of non-blocking I/O. I guess this is not something totally new. All high-performance servers have been using the same. Even on OS level or network level. What's making Node.js claim this "non-blocking" tag so much? I was thinking Apache/IIS or any servers meant for high-volume connections, should be using non-blocking I/O. (i.e I/O port completion model for IIS on Windows). I still believe IIS should be using IOCP internally, but may be only to a limited extent? as the documents say traditional Servers (Apache/IIS) does create 1-to-1 thread for each client. It's a bit puzzling, why Microsoft did not think about a Node like pure-Single-threaded solution for servers. Summary of questions: 1. IIS is really a dumb, 1-to-1 thread spawning server for every connected client? 2. Why Microsoft couldnt think of a Node model for web server, when I/O port completion has been so widely used in so many enterprise level network, I/O frameworks?

                    Full Reset

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #23

                    Eytukan wrote:

                    What's making Node.js claim this "non-blocking" tag so much?

                    Perhaps merely marketing or to make those doing it feel special. But one unintentional (or perhaps intentional - I don't know) is that it emphasizes that you need to insure that your own code isn't written in a way that blocks. Because you can write code that basically blocks everything. So maybe it just acts as a reminder to make sure people figure out the correct way to do it.

                    Eytukan wrote:

                    IIS is really a dumb, 1-to-1 thread spawning server for every connected client?

                    Even if so that isn't generally a concern. Everyone likes to think they are writing the next facebook but most are not. And at the point where a company gets big enough that connection concerns are a problem they, probably have so many other architecture problems already that it becomes a non-issue.

                    E 1 Reply Last reply
                    0
                    • J jschell

                      Eddy Vluggen wrote:

                      Most of us use .NET, not "Go".

                      Most of who? TIOBE Index | TIOBE - The Software Quality Company[^]

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #24

                      This might be news, but CodeProject has more .NET related articles :)

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                      L 1 Reply Last reply
                      0
                      • J jschell

                        Eddy Vluggen wrote:

                        With most of the world running Windows,

                        Desktop. Far as I can find server side it is about even.

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #25

                        Sure, there's a large part running 'nix. Still, aything that is not a hosting-firm will look very closely at the Microsoft-stack, where .NET is thightly integerated with the other products - not just the server products like Exchange and SQL Server, but also Office. Yes, pointing out the obvious.

                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                        1 Reply Last reply
                        0
                        • J jschell

                          Nathan Minier wrote:

                          You're also confusing a runtime with a software module, which makes me wonder how anyone on this site (outside of QA) can be so uniformed about basic computer operation.

                          Perhaps because some of us actually understand how complex the industry has actually gotten. Someone that has worked in nodejs for years focusing on human factors engineering is unlikely to need to know in detail that nodejs actually does use threads much less how it does that. But I suspect that those that are creating the next version should have a strong knowledge of that but that doesn't mean that they do. I worked in an office with probably 20 developers and I was the only one that understood bit manipulation. There was one other person that recognized what I was doing but could not explain what I was doing. That didn't make them stupid people it just meant that they had different areas of expertise than what I did. I worked in one group and being young and inexperienced I was dismissive of another developers programming skills. But once every three months that person, and only that person, would go before a board of people I had never even met to justify what our group did. And every month they allowed us to continue. And the result, which I only learned latter, of failing to do that would be that the group would be disbanded and the members of the group would be required to find another position in the company within two weeks or they would be let go. Now who was really more important to my actual job, me who I thought I could program or the guy that made sure I actually had a job that I could program at?

                          N Offline
                          N Offline
                          Nathan Minier
                          wrote on last edited by
                          #26

                          Yeah dude, and I'm on board with that. I'm not on board with crapping on decent software just because you don't understand it.

                          "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

                          1 Reply Last reply
                          0
                          • N Nathan Minier

                            Eytukan wrote:

                            If I am, with computer operations, you with manners ? :) this is rude, when I'm not claiming here to be an computer expert.

                            You belittle the work of thousands of engineers based on a completely false premise and a lack of understanding, and I'm rude?

                            Eytukan wrote:

                            Node - just because it's Javascript. You want to call this just a "run-time"? :)

                            It is a runtime. You don't know how interpreted languages work? No? Then why are you even trying to argue the point?

                            Eytukan wrote:

                            Micro-services, mainly after Node took over, YES, it's changing the landscape of a Web-server "module" & distributed computing.

                            Microservices and SoA pre-date Node by quite a bit. What Node does is lower the barrier to entry, but that does not make it more performant nor does it represent a shift in the zeitgeist.

                            "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

                            E Offline
                            E Offline
                            Eytukan
                            wrote on last edited by
                            #27

                            Nathan Minier wrote:

                            It is a runtime. You don't know how interpreted languages work? No? Then why are you even trying to argue the point?

                            Why do we think low of a "run-time" ? I truly don't get this. Just because a 'language' is interpreted, you want to look down on it? Or just because it's ending with ".js" (This is just for you to laugh :D) Okay, so my view - I really don't care if a language is interpreted, compiled, or HOT-interpreted, JIT, and there are even more of them with lots of combinations. Does it really matter? The problem is, you are focusing on the "js" part of Node. I'm looking at the "npm" part of it. You should definitely try giving a look at it. It's a truly evolved world sorting out so many problems. In that aspect, I would say, Node & it's eco system is much more bigger than your "big software module - IIS". Please note - I'm not saying IIS should have package manager. IIS might be good at what it's doing. My point here is , Node is not just a simple 'run-time' like the JS on browser. Node seems to combine programming, Package Management + Serving all under the same box. So I feel it definitely deserves a better treatment.

                            Full Reset

                            P N 2 Replies Last reply
                            0
                            • N Nathan Minier

                              Eytukan wrote:

                              If I am, with computer operations, you with manners ? :) this is rude, when I'm not claiming here to be an computer expert.

                              You belittle the work of thousands of engineers based on a completely false premise and a lack of understanding, and I'm rude?

                              Eytukan wrote:

                              Node - just because it's Javascript. You want to call this just a "run-time"? :)

                              It is a runtime. You don't know how interpreted languages work? No? Then why are you even trying to argue the point?

                              Eytukan wrote:

                              Micro-services, mainly after Node took over, YES, it's changing the landscape of a Web-server "module" & distributed computing.

                              Microservices and SoA pre-date Node by quite a bit. What Node does is lower the barrier to entry, but that does not make it more performant nor does it represent a shift in the zeitgeist.

                              "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

                              E Offline
                              E Offline
                              Eytukan
                              wrote on last edited by
                              #28

                              Nathan Minier wrote:

                              You belittle the work of thousands of engineers based on a completely false premise and a lack of understanding, and I'm rude?

                              I did not belittle them. I wished them to do better. If they were doing everything so brilliant & clear, why should they embrace Linux & open stack now? They missed the train. They are just waking up and catching up. I don't see anything wrong in it. Been working with MS tools, frameworks, even with their teams directly. :) I do like them all. I wish them to stay ahead.

                              Full Reset

                              1 Reply Last reply
                              0
                              • J jschell

                                Eytukan wrote:

                                What's making Node.js claim this "non-blocking" tag so much?

                                Perhaps merely marketing or to make those doing it feel special. But one unintentional (or perhaps intentional - I don't know) is that it emphasizes that you need to insure that your own code isn't written in a way that blocks. Because you can write code that basically blocks everything. So maybe it just acts as a reminder to make sure people figure out the correct way to do it.

                                Eytukan wrote:

                                IIS is really a dumb, 1-to-1 thread spawning server for every connected client?

                                Even if so that isn't generally a concern. Everyone likes to think they are writing the next facebook but most are not. And at the point where a company gets big enough that connection concerns are a problem they, probably have so many other architecture problems already that it becomes a non-issue.

                                E Offline
                                E Offline
                                Eytukan
                                wrote on last edited by
                                #29

                                jschell wrote:

                                But one unintentional (or perhaps intentional - I don't know) is that it emphasizes that you need to insure that your own code isn't written in a way that blocks. Because you can write code that basically blocks everything. So maybe it just acts as a reminder to make sure people figure out the correct way to do it.

                                Exactly, I was truly puzzled how can you "always" ensure non-blocking code. (edited* - supposed to mean CPU bound tasks. Not I/O bound) But even with this limitation, How Node.js managed to steal such a huge spot-light? If there's real substance to it, then I would really feel, Microsoft should have done it first , with all the expertise they already have in their hand. Instead of doing a follow-up product. I've seen Microsoft do this a lot of times. A particular trend gets popular, and they introduce their version of it. You'd call this Innovation? Windows Phone was a typical example. In recent days, we can really see they are getting closer to being cool :) The strength I see at the moment with Node is their NPM, but this is all evolved after the initial hype. And Microservices architecture really had a good take-off with Node.js. The basic nature of Node solution architecture feels micro. Before Node arrived, "Server" development was an epic. People talk about J2E, .Net N-tier server arch. It did feel like you have a decent learning curve to start doing something on the server. & Deployment , config on the IIS , had it's own learning curve. Honestly, I feel Node + NoSQL feel bare-bones stuff & anybody can just jump in and start doing things even for a decent requirement, it works. And you'd pay just for the hosting. That's the reason Node became Startups favorite.

                                jschell wrote:

                                Even if so that isn't generally a concern. Everyone likes to think they are writing the next facebook but most are not. And at the point where a company gets big enough that connection concerns are a problem they, probably have so many other architecture problems already that it becomes a non-issue.

                                lol :)

                                Full Reset

                                J 1 Reply Last reply
                                0
                                • J jschell

                                  Nathan Minier wrote:

                                  You're also confusing a runtime with a software module, which makes me wonder how anyone on this site (outside of QA) can be so uniformed about basic computer operation.

                                  Perhaps because some of us actually understand how complex the industry has actually gotten. Someone that has worked in nodejs for years focusing on human factors engineering is unlikely to need to know in detail that nodejs actually does use threads much less how it does that. But I suspect that those that are creating the next version should have a strong knowledge of that but that doesn't mean that they do. I worked in an office with probably 20 developers and I was the only one that understood bit manipulation. There was one other person that recognized what I was doing but could not explain what I was doing. That didn't make them stupid people it just meant that they had different areas of expertise than what I did. I worked in one group and being young and inexperienced I was dismissive of another developers programming skills. But once every three months that person, and only that person, would go before a board of people I had never even met to justify what our group did. And every month they allowed us to continue. And the result, which I only learned latter, of failing to do that would be that the group would be disbanded and the members of the group would be required to find another position in the company within two weeks or they would be let go. Now who was really more important to my actual job, me who I thought I could program or the guy that made sure I actually had a job that I could program at?

                                  E Offline
                                  E Offline
                                  Eytukan
                                  wrote on last edited by
                                  #30

                                  You know, there's always a fear to talk about things. Because people put you down instantly. This whole thread, I've been saying I'm learning things. I'm just conveying what I read & what is there in my mind. You CANNOT have an idea about a technology/concept, 100% perfect on your mind. Just like how Windows Disk-defragmentation shows you the perfect-blue blocks, all sorted out. :) It's impossible. Missing blocks-inevitable. You sort this out as and when you get to work on it more, read it more & mainly discuss it more.

                                  Full Reset

                                  1 Reply Last reply
                                  0
                                  • E Eytukan

                                    Nathan Minier wrote:

                                    It is a runtime. You don't know how interpreted languages work? No? Then why are you even trying to argue the point?

                                    Why do we think low of a "run-time" ? I truly don't get this. Just because a 'language' is interpreted, you want to look down on it? Or just because it's ending with ".js" (This is just for you to laugh :D) Okay, so my view - I really don't care if a language is interpreted, compiled, or HOT-interpreted, JIT, and there are even more of them with lots of combinations. Does it really matter? The problem is, you are focusing on the "js" part of Node. I'm looking at the "npm" part of it. You should definitely try giving a look at it. It's a truly evolved world sorting out so many problems. In that aspect, I would say, Node & it's eco system is much more bigger than your "big software module - IIS". Please note - I'm not saying IIS should have package manager. IIS might be good at what it's doing. My point here is , Node is not just a simple 'run-time' like the JS on browser. Node seems to combine programming, Package Management + Serving all under the same box. So I feel it definitely deserves a better treatment.

                                    Full Reset

                                    P Offline
                                    P Offline
                                    Pete OHanlon
                                    wrote on last edited by
                                    #31

                                    If you're programming for IIS now, chances are high that you are using .NET. If you are, you will probably end up using Nuget, the package manager for .NET.

                                    This space for rent

                                    E 1 Reply Last reply
                                    0
                                    • P Pete OHanlon

                                      If you're programming for IIS now, chances are high that you are using .NET. If you are, you will probably end up using Nuget, the package manager for .NET.

                                      This space for rent

                                      E Offline
                                      E Offline
                                      Eytukan
                                      wrote on last edited by
                                      #32

                                      Yup, Thanks Pete. This is what I'm used to. With Node, The idea of Coding, Package-Management, Hosting (And even API-gateway mgmt) all fitting into a single boundary felt totally new. Getting to learn more about the internals now.

                                      Full Reset

                                      1 Reply Last reply
                                      0
                                      • E Eytukan

                                        Nathan Minier wrote:

                                        It is a runtime. You don't know how interpreted languages work? No? Then why are you even trying to argue the point?

                                        Why do we think low of a "run-time" ? I truly don't get this. Just because a 'language' is interpreted, you want to look down on it? Or just because it's ending with ".js" (This is just for you to laugh :D) Okay, so my view - I really don't care if a language is interpreted, compiled, or HOT-interpreted, JIT, and there are even more of them with lots of combinations. Does it really matter? The problem is, you are focusing on the "js" part of Node. I'm looking at the "npm" part of it. You should definitely try giving a look at it. It's a truly evolved world sorting out so many problems. In that aspect, I would say, Node & it's eco system is much more bigger than your "big software module - IIS". Please note - I'm not saying IIS should have package manager. IIS might be good at what it's doing. My point here is , Node is not just a simple 'run-time' like the JS on browser. Node seems to combine programming, Package Management + Serving all under the same box. So I feel it definitely deserves a better treatment.

                                        Full Reset

                                        N Offline
                                        N Offline
                                        Nathan Minier
                                        wrote on last edited by
                                        #33

                                        Eytukan wrote:

                                        Why do we think low of a "run-time" ? I truly don't get this.

                                        Dude, half the code I write is JS; most of the rest is C#. Almost everything I write utilizes a runtime, and so I'm not bad-mouthing it. I do, however, understand that my code is not as efficient, performant, or generally capable as something written with direct memory access and low-level structural support. That's the trade-off that I make to quickly write and deploy code. What I won't do is badmouth systems that do it better because their developers have the time or skill set to do better by using low-level code. That's just arrogant and preposterous.

                                        Eytukan wrote:

                                        My point here is , Node is not just a simple 'run-time' like the JS on browser.

                                        Yeah dude, that's exactly what it is. At it's core is Google V8, the runtime for the Chromium-family of browsers.

                                        Eytukan wrote:

                                        My point here is , Node is not just a simple 'run-time' like the JS on browser.

                                        No, the point in your OP was to badmouth Microsoft and IIS without understanding the very basics of how the software in question operates, and every post makes it worse. Stop digging.

                                        "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

                                        E J 2 Replies Last reply
                                        0
                                        • N Nathan Minier

                                          Eytukan wrote:

                                          Why do we think low of a "run-time" ? I truly don't get this.

                                          Dude, half the code I write is JS; most of the rest is C#. Almost everything I write utilizes a runtime, and so I'm not bad-mouthing it. I do, however, understand that my code is not as efficient, performant, or generally capable as something written with direct memory access and low-level structural support. That's the trade-off that I make to quickly write and deploy code. What I won't do is badmouth systems that do it better because their developers have the time or skill set to do better by using low-level code. That's just arrogant and preposterous.

                                          Eytukan wrote:

                                          My point here is , Node is not just a simple 'run-time' like the JS on browser.

                                          Yeah dude, that's exactly what it is. At it's core is Google V8, the runtime for the Chromium-family of browsers.

                                          Eytukan wrote:

                                          My point here is , Node is not just a simple 'run-time' like the JS on browser.

                                          No, the point in your OP was to badmouth Microsoft and IIS without understanding the very basics of how the software in question operates, and every post makes it worse. Stop digging.

                                          "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

                                          E Offline
                                          E Offline
                                          Eytukan
                                          wrote on last edited by
                                          #34

                                          You are very sure about what I have conveyed in my OP? Every post of yours shows me, you never got it, at all. All the while I've been simply asking, is IIS really dumb as portrayed in tech-media? And does Node.js really worth the praise.

                                          Nathan Minier wrote:

                                          nderstand that my code is not as efficient, performant, or generally capable as something written with direct memory access and low-level structural support.

                                          "Direct Memory Access" :) You are doing this with your C# code?

                                          Full Reset

                                          P 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups