Re: [fpc-other] $100, 000 for C++ implementation of FPC's -CR option

2016-06-07 Thread Graeme Geldenhuys
On 2015-08-14 00:49, Nikolay Nikolov wrote: > Well, now all they need is a decent equivalent to Pascal's units > (instead of relying on preprocessor hacks such as #include), Pascal's > compilation speed, decent RTTI, class types (e.g. "class of tobject") > and C++ becomes a halfway-usable

Re: [fpc-other] $100, 000 for C++ implementation of FPC's -CR option

2015-08-14 Thread Mark Morgan Lloyd
Nikolay Nikolov wrote: Almost like Pascal's units. :) Although they don't include namespaces and not intended for binary distribution. Yes, I know about them, but come on... Turbo Pascal introduced units in 1987 (in TP4). I think UCSD Pascal had them even before that (I never used UCSD, so I

Re: [fpc-other] $100, 000 for C++ implementation of FPC's -CR option

2015-08-14 Thread Karoly Balogh (Charlie/SGR)
Hi, On Fri, 14 Aug 2015, Nikolay Nikolov wrote: On 08/13/2015 11:47 PM, Jonas Maebe wrote: http://it.slashdot.org/story/15/08/13/1229239 In all fairness, they also optimise it so that they emit fewer checks (if you check whether X of the correct type in one statement, you may not have

Re: [fpc-other] $100, 000 for C++ implementation of FPC's -CR option

2015-08-14 Thread Nikolay Nikolov
On 08/14/2015 11:02 AM, Karoly Balogh (Charlie/SGR) wrote: Hi, On Fri, 14 Aug 2015, Nikolay Nikolov wrote: On 08/13/2015 11:47 PM, Jonas Maebe wrote: http://it.slashdot.org/story/15/08/13/1229239 In all fairness, they also optimise it so that they emit fewer checks (if you check whether X

Re: [fpc-other] $100, 000 for C++ implementation of FPC's -CR option

2015-08-14 Thread Marco van de Voort
In our previous episode, Karoly Balogh (Charlie/SGR) said: Well, now all they need is a decent equivalent to Pascal's units (instead of relying on preprocessor hacks such as #include), Meet the C(++) Modules proposal: http://llvm.org/devmtg/2012-11/Gregor-Modules.pdf And Stroustrup is

Re: [fpc-other] $100, 000 for C++ implementation of FPC's -CR option

2015-08-14 Thread Marco van de Voort
In our previous episode, Nikolay Nikolov said: http://www.infoq.com/news/2015/04/stroustrup-cpp17-interview Yes, I know about that too, but I'm still wondering why it took so long. C++ has an everything but the kitchen sink approach, where they introduce every programming language feature

Re: [fpc-other] $100, 000 for C++ implementation of FPC's -CR option

2015-08-13 Thread Ralf Quint
On 8/13/2015 4:49 PM, Nikolay Nikolov wrote: Well, now all they need is a decent equivalent to Pascal's units (instead of relying on preprocessor hacks such as #include), Pascal's compilation speed, decent RTTI, class types (e.g. class of tobject) and C++ becomes a halfway-usable language :)

Re: [fpc-other] $100, 000 for C++ implementation of FPC's -CR option

2015-08-13 Thread Nikolay Nikolov
On 08/13/2015 11:47 PM, Jonas Maebe wrote: http://it.slashdot.org/story/15/08/13/1229239 In all fairness, they also optimise it so that they emit fewer checks (if you check whether X of the correct type in one statement, you may not have to check it again in the next etc) and hence reduce the