3 ms·
This is fascinating, but I just can't discern a practical purpose. The novelty of the "I just converted this huge piece of software written in c or machine cod
by ruswick 14y ago
This is fascinating, but I just can't discern a practical purpose.
The novelty of the "I just converted this huge piece of software written in c or machine code into JS" type of post usually extends only to the title. The link itself generally serves only to evoke a profound "WTF" (and in this case took upwards of 40 seconds to load.)
Although I appreciate the undertaking of compiling prodigious libraries, drivers, etc. into JS, I don't see practical value in the product of said undertaking.
The fact that this practice has proliferated throughout HN recently is odd. This kind of thing is certainly remarkable, but it doesn't do anything.
- bpatrianakos 14y agoYou're 100% right but you're missing something here. Something like this takes skill and builds skill and when you've finished you just want to show it off. And it really is impressive! Sure, it has no practical application itself but I'm sure that some piece of this or some technique used in porting it to JS will have some practical value somewhere. Sometimes the practical is born from the impractical. I guess what I'm saying is why does it need to do anything or be practical? Cool stuff is just cool sometimes.
- motvbi 14y agoWindows script host (cscript) allows you to execute js files in addition to vbscript (vbs). This is particularly useful in extending the functionality of batch files. This can be useful in a lot of circumstances build process, installation etc.
- pharrington 14y agoThis is for Node.js, not host scripts. It uses node-ffi.
- alter8 14y agoWhy did you copy the [dead] post from sarvesh (hellbanned 3 years ago) without attribution? Are you him?
- deleted 14y ago[deleted]
- sarvesh 14y agoWindows script host (cscript) allows you to execute js files in addition to vbscript (vbs). This is particularly useful in extending the functionality of batch files. This can be useful in a lot of circumstances build process, installation etc.
- alter8 14y agosarvesh, you were hellbanned more than 3 years ago. His post: Windows script host (cscript) allows you to execute js files in addition to vbscript (vbs). This is particularly useful in extending the functionality of batch files. This can be useful in a lot of circumstances build process, installation etc.