Thank youRoberto Lopez wrote:To clarify a little more, here is this interesting article:
http://blog.4psa.com/an-intro-into-sing ... tions-spa/
Facts About HMGSCRIPT
Moderator: Rathinagiri
Re: Facts About HMGSCRIPT
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
-
- Posts: 16
- Joined: Sat Apr 19, 2014 10:17 am
Re: Facts About HMGSCRIPT
Sorry if this does not suit this topic, but I've found this tool on the internet and I think it could be helpful. This utility can compile C and C+ into a javascript file.
http://kripken.github.io/emscripten-site/
http://kripken.github.io/emscripten-site/
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Facts About HMGSCRIPT
Very interesting... I still hoping that someday we have the same for Harbour...mruizcanete wrote:Sorry if this does not suit this topic, but I've found this tool on the internet and I think it could be helpful. This utility can compile C and C+ into a javascript file.
http://kripken.github.io/emscripten-site/
Since Harbour generates C code, such code could be compiled to JavaScirpt, so, we could have Harbour running on our web browsers...
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Facts About HMGSCRIPT
Correction: Harbour generates pcode enclosed in C stubs for the most part of it.
pcode enclosed in Javascript modules is very possible.
Just no very shure about its speed and performance.
I would be like a VM machine inside the V8 VM machine. mmmm
pcode enclosed in Javascript modules is very possible.
Just no very shure about its speed and performance.
I would be like a VM machine inside the V8 VM machine. mmmm
Angel Pais
Web Apps consultant/architect/developer.
Web Apps consultant/architect/developer.
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Facts About HMGSCRIPT
If you read the docs of 'asm.js' you'll see that speeds of about half of the native-compiled versions were achieved. IMHO, that is a fair price to pay to have Harbour running on our browsers.apais wrote:Correction: Harbour generates pcode enclosed in C stubs for the most part of it.
pcode enclosed in Javascript modules is very possible.
Just no very shure about its speed and performance.
I would be like a VM machine inside the V8 VM machine. mmmm
Things like unreal engine 3, SQLITE or MESS emulator has been successfully compiled to JavaScript, so, I guess that Harbour should not be a problem.
http://en.wikipedia.org/wiki/Asm.js
http://asmjs.org/faq.html
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)