Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alphaglosined
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
alphaglosined
2mo ago
I created the D version of the value type exceptions proposal. In the end, it was DOA due to compiler architecture, so that was the end of that beautiful design. I've had to accept result types is about as good as its going to get, all
2.
▲
by
alphaglosined
6mo ago
It is more widespread than you may realise. That work contributes to static analysers' data flow analysis algorithms and is very widespread, even if it's in a limited capacity. C#, gcc, clang, and even dmd, with my fast DFA engine
3.
▲
by
alphaglosined
11mo ago
Getting a web framework into the standard library is something I want to get working, along with a windowing library. Currently we need to get a stackless coroutine into the language, actors for windowing event handling, reference counting
4.
▲
by
alphaglosined
11mo ago
Indeed the GC is just a library with some helpful language hooks to make the experience nice. If you understand how it's hooked into, it's very easy to work with. There is only one area of the language related to closure context c
5.
▲
by
alphaglosined
11mo ago
Ldc like dmd ships lld and mingw import libraries and has for a few years now. They both work out of the box without MSVC installed. It's only ImportC feature that requires MSVC. The work required to get clang working in its place hasn
6.
▲
by
alphaglosined
11mo ago
The following statement originates from Adam Wilson who is heading the PhobosV3 project, and I will second it. The issues you have are examples of known problems that PhobosV2 has suffered under. Coroutines, for instance we would like to ha
7.
▲
by
alphaglosined
1y ago
Are you talking about "Issue 24254 - LDC crash on Epyc Bergamo"? That was fixed within the week, with a notification given that it had been sent to the reporter.
8.
▲
by
alphaglosined
3y ago
LLVM can do an awful lot with SIMD that isn't visible in clang. We have experienced this with LDC in D. What I've been told is that LDC produces better IR than clang (I haven't compared, I only know that LDC is practically ma
9.
▲
by
alphaglosined
3y ago
About a year ago I had a look at a C compiler for 16bit computers, featured in disk form on I think Adrian's digital basement YT channel. The compiler was very basic, nothing like you'd expect from a compiler even from the dragon
10.
▲
by
alphaglosined
4y ago
Memory safety is broken up into a bunch of different categories. It isn't just one feature. Yes D uses the GC for lifetime issues currently, but it does not need it for doing bounds checking, escape analysis or preventing common issues
11.
▲
by
alphaglosined
4y ago
I know of a third GC implementation, by Rainer. Which is concurrent on Windows via snapshotting (but not in druntime). http://rainers.github.io/visuald/druntime/concurrentgc.html
12.
▲
by
alphaglosined
4y ago
I'm one of the moderators on D's Discord server. We do our best to ensure everyone feels welcome to join in. Of course none of us have social media training and are just doing our best. If something is going down and we are not ta
13.
▲
by
alphaglosined
4y ago
But only for structs. We really need to get actual reference counting into the language to cover classes properly as well. It has been on my todo list to write a DIP for this for a while now. ~rikki.
14.
▲
by
alphaglosined
5y ago
Unless you are touching something like threads or exceptions, you probably won't use classes unless it expresses your data best. So yes, perfectly usable without OOP or classes.
15.
▲
by
alphaglosined
5y ago
Audio plugins like VST. He created dplug, a framework for audio plugins in D a pretty great feat!
16.
▲
by
alphaglosined
5y ago
No it wouldn't be fair to say that. Lots of stuff exist specifically to help with onboarding people into the community. Like the recent announcement of adding a C parser into the frontend.
17.
▲
by
alphaglosined
5y ago
You are stuck with dropping to @trusted and calling the appropriate allocator API. Following that you will want to check for null ext. to make it actually @safe in practice and not just typed as such.
18.
▲
by
alphaglosined
7y ago
It is provided by dmd as part of the download. You can also get soft copies (i.e. mobi, pdf) and the docs as part of the d-apt repository for debian. Depending on the nature of distribution it is probably just in a different package (or the
19.
▲
by
alphaglosined
8y ago
Nah, -betterC gives you an advantage over C. It isn't meant to give you an advantage over languages like C++. Its in the name after all ;)
20.
▲
by
alphaglosined
8y ago
We are working on improving scope atm which is quite an improvement. Tieing exceptions into it too to remove allocations.
21.
▲
by
alphaglosined
8y ago
That was 9 years ago and the second is no longer maintained (for about 2 years at this point).
22.
▲
by
alphaglosined
8y ago
You see, before D ever existed, Walter wrote a C/C++ compiler professionally. That is why he would like to see C improved. He has just as much interest in seeing it improved as you or I do. In fact, I would say he has more reason as he
23.
▲
by
alphaglosined
8y ago
This article was not created based upon theory. It was created based upon real world experience having designed and implemented it in D. Where all of your concerns have not been discussed in the years following that article (it was already