Re: [fpc-devel] Summer of code collaboration

2013-02-09 Thread Michael Van Canneyt
On Sat, 9 Feb 2013, Florian Klämpfl wrote: Am 09.02.2013 03:13, schrieb Vittorio Giovara: To do that we are using a tool named 'emscripten' which takes LLVM bytecode and generates Javascript, without affecting performance too much. Yes, we had to write a horribly hacked converter that took th

Re: [fpc-devel] Summer of code collaboration

2013-02-09 Thread Florian Klämpfl
Am 09.02.2013 03:13, schrieb Vittorio Giovara: > To do that we are using a tool > named 'emscripten' which takes LLVM bytecode and generates Javascript, > without affecting performance too much. Yes, we had to write a horribly > hacked converter that took the small subset of Pascal used by Hedgewar

Re: [fpc-devel] Summer of code collaboration

2013-02-09 Thread Michael Van Canneyt
On Sat, 9 Feb 2013, Vittorio Giovara wrote: Hi all, I'm one of the developer of Hedgewars, an open source video game all written with FreePascal. Please see the full site at http://www.hedgewars.org/ One of the Hedgewars project is to make a WebGL/Javascript version of the game so that it c

[fpc-devel] Summer of code collaboration

2013-02-09 Thread Vittorio Giovara
Hi all, I'm one of the developer of Hedgewars, an open source video game all written with FreePascal. Please see the full site at http://www.hedgewars.org/ One of the Hedgewars project is to make a WebGL/Javascript version of the game so that it can run in a browser. To do that we are using a tool

Re: [fpc-devel] Re: [fpc-announce] Feature announcement: Type helpers

2013-02-09 Thread Gerhard Scholz
I know that the examples are stupid and most of them senseless. Sometimes I used similar workarounds (more senseful), so I just wanted to know if the type helper construct produces more efficient code. It doesn't. > The main advantage of helpers compared to your example is that the compiler will