Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
he_the_great
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
he_the_great
12y ago
And the same thing in D: struct Square { int sideLength; } struct Rectangle { int length; int width; } import std.variant; alias Shape = Algebraic!(Square, Rectangle); import std.
32.
▲
by
he_the_great
12y ago
Well, the examples were the content of the talk. He didn't need the examples at all, but they demonstrate a severity of the problem. And to that point the talk needed to be slow so that one can try and answer the question, if the answe
33.
▲
by
he_the_great
12y ago
3:55 "It is important to have some information on someone's perspective when they speak, because obviously that is going to color the opinions that they have."
34.
▲
by
he_the_great
12y ago
He did provide the design behind "these gotchas." It is at 43:40 As for the specific examples which he brings up, those also get the specific goal stated as to why C++ has that strange condition. Essentially, I don't know wha
35.
▲
by
he_the_great
13y ago
This page lists some: http://wiki.dlang.org/Current_D_Use Work is happening with ARM, but it needs more pre-early adopters. http://wiki.dlang.org/GDC/Cross_Compiler
36.
▲
by
he_the_great
13y ago
This is likely what they are looking at. Start with a program everyone uses, but isn't critical production system, evaluate the language and get people familiar with the language. Follow it up with some more rewrites and eventually giv
37.
▲
by
he_the_great
13y ago
I wouldn't want to reach for lint to handle formatting, that is what indent is for. That is to say, lint should not complain that the if should contain a space before the (.
38.
▲
by
he_the_great
13y ago
If someone wants to build a language and "A programming language is the semantics" doesn't it really make sense to tell them what the semantics should look like?
39.
▲
by
he_the_great
13y ago
So he should have run the D program with dmd -run :D
40.
▲
by
he_the_great
13y ago
The history of many of the languages has been the same in regards to generics. C++ didn't have them, then templates where added. C# 1 didn't have them, but were quickly added (correctly) in 2. D didn't have them, later they w
41.
▲
by
he_the_great
13y ago
> It takes power steering with it though, That is what sucks about cars with power steering, they don't get any of the benefit a car built with no power steering does.
42.
▲
by
he_the_great
13y ago
It's called a parking break now. Only useful when the car isn't moving :)
43.
▲
by
he_the_great
13y ago
There is caching of the newsgroup messages, but I don't know about the generated page.
44.
▲
by
he_the_great
13y ago
> systems language => for building systems, many parts, many interconnections So... every language?
45.
▲
by
he_the_great
13y ago
No that is D and it is with CTFE. Also joking... mostly.
46.
▲
by
he_the_great
13y ago
I think there is a lot of truth to the statement, but not to the extreme. There are implementation issues for many claimed features, some because large and in your face, some edge cases, others due to language design. The situation is bette
47.
▲
by
he_the_great
13y ago
The problem is by deciding that they can use "systems language" (which they dropped) because "system" means "a set of connected things or parts forming a complex whole" results in every language falling under &
48.
▲
by
he_the_great
13y ago
Much of the initial design come from improving the language grammar and syntax. That limited improvement didn't last long, but it was an initial motivator (Walter being a compiler writer and C++ being horrible language to parse). The D
49.
▲
by
he_the_great
13y ago
Yes, but from what I've learn of the original developers, "replace C++ for their needs" means, "we are using C++ currently, we don't want to, so we're making a language which incorporates a core which helps our
50.
▲
by
he_the_great
13y ago
That's a little adventurous. std.algorithm is known to only have one function which allocates. The rest of Phobos is being looked at, but to this point I don't think it has been combed thoroughly enough to say "almost entire.
51.
▲
by
he_the_great
13y ago
As bsaul hints at, isn't Google, it is the people behind Go. Google didn't say, let us make a new language. Instead employees ask management if they could work on a language. Given this perspective it is easy to see why supporting
52.
▲
by
he_the_great
13y ago
D provides some very appetizing features for meta and generic programming. You can get some insight from questions like this: http://stackoverflow.com/questions/7300298/metaprogramming-i...
53.
▲
by
he_the_great
13y ago
It is going to live a long life. It is making it over the bad PR it has had in the past... by being awesome.
54.
▲
by
he_the_great
13y ago
They first need to steal unittest blocks. Then they can improve on it so that D can steal those improvements :)
55.
▲
by
he_the_great
13y ago
What they don't want you to know is that there are some hidden tricks in the talk. Live update to a running engine. Annotation of variables which would get a GUI for modification or profiling tracking.
56.
▲
by
he_the_great
14y ago
See Template Mixins. http://dlang.org/template-mixin.html
57.
▲
by
he_the_great
14y ago
Original Announcement: http://forum.dlang.org/post/jncc7h$3161$1@digitalmars.com
58.
▲
by
he_the_great
15y ago
> Without a large community behind them, they will slowly fade away like D did. This is a rather strange assessment. The history of "successful" languages has been a mixture of "cool jump onboard" and "who can stay alive the longest to
59.
▲
by
he_the_great
15y ago
std.concurrency "is a low-level messaging API." The language provides low-level concurrency primitives. It is possible a higher level library providing "goroutines" might be made, though there is not effort or plan.
60.
▲
by
he_the_great
15y ago
Nope, not even. SML apparently did so, and probably others.
More ›