October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad Attachments: | On Mon, 13 Oct 2014 12:40:18 +0000
via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> On Monday, 13 October 2014 at 10:51:54 UTC, ketmar via Digitalmars-d wrote:
> > AST macros! AST macros can do almost anything! ;-)
>
> Including making it impossible to add new features to the language... :)
with AST macros everyone can add new feature to the language! almost all ERs can be closed with "write AST macro!" ;-)
|
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paulo Pinto | On Monday, 13 October 2014 at 11:39:26 UTC, Paulo Pinto wrote:
> On Monday, 13 October 2014 at 11:07:39 UTC, Ola Fosheim Grøstad wrote:
>> ...
>> From a system level language I don't really need:
>> - templates
>> - exceptions
>> - fibers
>> - garbage collection
>
>
> Ada, Modula-3 ? :)
Did not Modula 3 had generics, so... templates but MUCH BETTER ?
exceptions ?
and garbage collection too ?
in Modula 3 I see only just fibers missing of the mentioned Features...
|
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Ogheri | On Monday, 13 October 2014 at 13:12:48 UTC, Alex Ogheri wrote:
> On Monday, 13 October 2014 at 11:39:26 UTC, Paulo Pinto wrote:
>> On Monday, 13 October 2014 at 11:07:39 UTC, Ola Fosheim Grøstad wrote:
>>> ...
>>> From a system level language I don't really need:
>>> - templates
>>> - exceptions
>>> - fibers
>>> - garbage collection
>>
>>
>> Ada, Modula-3 ? :)
>
> Did not Modula 3 had generics, so... templates but MUCH BETTER ?
>
> exceptions ?
>
> and garbage collection too ?
>
> in Modula 3 I see only just fibers missing of the mentioned Features...
Well, it had real OS threads.
I was being ironic, as for as much as I like D, at least those languages were already used to implement real OS.
The fact that they did not made the jump to mainstream, is another matter.
--
Paulo
|
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paulo Pinto | On Monday, 13 October 2014 at 11:39:26 UTC, Paulo Pinto wrote: > On Monday, 13 October 2014 at 11:07:39 UTC, Ola Fosheim Grøstad wrote: >> ... >> From a system level language I don't really need: >> - templates This is the no. 1 feature that I would like to have in a system level programming languages such as hypothetical "C with templates" Add D's scope() statement. >> - exceptions Even those, sometimes you would like to have them. >> - fibers >> - garbage collection I have not so much against GC, but not having RAII is a real issue for me and I blame GC for that. |
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to eles | On Monday, 13 October 2014 at 13:56:20 UTC, eles wrote:
> On Monday, 13 October 2014 at 11:39:26 UTC, Paulo Pinto wrote:
>> On Monday, 13 October 2014 at 11:07:39 UTC, Ola Fosheim Grøstad wrote:
>>> ...
>>> From a system level language I don't really need:
>>> - templates
>
> This is the no. 1 feature that I would like to have in a system level programming languages such as hypothetical "C with templates"
In practice I use few templates in low level code. I might start out with a template, and then end up using something concrete for various reasons (performance, needed to modify the ADT as the code base evolve, memory layout, desire for transparent source code).
Nice to have, but not critical to success IMO.
|
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | On Monday, 13 October 2014 at 14:58:08 UTC, Ola Fosheim Grøstad wrote: > On Monday, 13 October 2014 at 13:56:20 UTC, eles wrote: >> On Monday, 13 October 2014 at 11:39:26 UTC, Paulo Pinto wrote: >>> On Monday, 13 October 2014 at 11:07:39 UTC, Ola Fosheim Grøstad wrote: > Nice to have, but not critical to success IMO. Of course is not that critical, because C succeeded without, but still nice to have. |
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to eles | Am 13.10.2014 um 17:04 schrieb eles:
> On Monday, 13 October 2014 at 14:58:08 UTC, Ola Fosheim Grøstad wrote:
>> On Monday, 13 October 2014 at 13:56:20 UTC, eles wrote:
>>> On Monday, 13 October 2014 at 11:39:26 UTC, Paulo Pinto wrote:
>>>> On Monday, 13 October 2014 at 11:07:39 UTC, Ola Fosheim Grøstad wrote:
>
>> Nice to have, but not critical to success IMO.
>
> Of course is not that critical, because C succeeded without, but still
> nice to have.
It had a killer application called UNIX, just like JavaScript has the browser or Objective-C has the iPhone....
I doubt it would ever suceeded on its own.
--
Paulo
|
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paulo Pinto | On Monday, 13 October 2014 at 16:28:13 UTC, Paulo Pinto wrote: > It had a killer application called UNIX, just like JavaScript has the browser or Objective-C has the iPhone.... > > I doubt it would ever suceeded on its own. I probably would, since it was better than http://en.wikipedia.org/wiki/BCPL |
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | Am 13.10.2014 um 20:38 schrieb "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= <ola.fosheim.grostad+dlang@gmail.com>": > On Monday, 13 October 2014 at 16:28:13 UTC, Paulo Pinto wrote: >> It had a killer application called UNIX, just like JavaScript has the >> browser or Objective-C has the iPhone.... >> >> I doubt it would ever suceeded on its own. > > I probably would, since it was better than > http://en.wikipedia.org/wiki/BCPL > But no better than Algol or PL/... variants. There were other alternatives. |
October 13, 2014 Re: Worse is better? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paulo Pinto | On Monday, 13 October 2014 at 19:00:37 UTC, Paulo Pinto wrote:
> But no better than Algol or PL/... variants.
>
> There were other alternatives.
Algol compilers required a lot more RAM than BCPL (~120k vs ~20k)
:)
|
Copyright © 1999-2021 by the D Language Foundation