Re:Apache loses Java showdown vote to Oracle
by rbanffy on Tuesday December 07, 2010 @10:52AM
(#1979383)
True, but it would be uglier than if the compiler hid the CG behind a wall of syntactic sugar.
[ Parent
| on HN ]
Re:Apache loses Java showdown vote to Oracle
by dfox on Tuesday December 07, 2010 @12:32PM
(#1979766)
Well, the only difference you see is that you call GC_malloc() instead of malloc() (and that can be redefined, even link-time), and that on some platforms (at least Cygwin and AIX, maybe also Solaris) you need to call GC_INIT() from main().
Re:Apache loses Java showdown vote to Oracle
by rbanffy on Tuesday December 07, 2010 @02:25PM
(#1980222)
Yes, but that should be placed in the C code, not in the Vala sources. Assuming it's a c#/Java-like language, the programmer should be spared from this job.
Re:Apache loses Java showdown vote to Oracle
by dfox on Wednesday December 08, 2010 @11:36AM
(#1983512)
In case of Vala I think that required modifications are pretty well limited to underlying runtime library (gobject) and do not touch compiler too much. But on the other hand they will be quite invasive across whole Gtk/Gnome platform.