I was using Jinja2 to generate some files and I wished I had D
ranges. So I made a toy proof-of-concept of a D answer to
Jinja2. Then a COVID-19 outbreak here triggered a lockdown, and
I polished it up a bit more:
https://theartofmachinery.com/2021/01/01/djinn.html
Hope someone else finds
On Friday, 11 December 2020 at 14:59:47 UTC, Ferhat Kurtulmuş
wrote:
I saw a post[1] about d running on the browser using emscripten
a while ago. I decided to modify my SDL-OpenGL hobby game[2] to
run with emscripten. It is still WIP. But, nice to see it
running on the browser :-D
On Wednesday, 25 November 2020 at 00:20:54 UTC, Paul Backus wrote:
The exact memory layout and ABI of SumType is deliberately left
unspecified. It's an implementation detail that client code
isn't supposed to rely on. If you want to pass a SumType's
value to a C function, you will first have
On Wednesday, 1 July 2020 at 11:54:54 UTC, Cym13 wrote:
On Wednesday, 1 July 2020 at 10:59:13 UTC, Dukc wrote:
It also illustrates what's the prolem with cryptography: it's
like coding without ability to test. Who could even dream to
get that right the first or even the second time? I think
On Wednesday, 26 February 2020 at 17:23:51 UTC, Meta wrote:
On Wednesday, 26 February 2020 at 17:11:18 UTC, bachmeier wrote:
There needs to be a variant of "mansplaining" modified for
Python users.
Agreed, and there also needs to be a variant of prison,
modified for people who post dumb
On Friday, 7 February 2020 at 19:51:52 UTC, Andre Pany wrote:
On Friday, 7 February 2020 at 18:16:37 UTC, Les De Ridder wrote:
I'm not sure why LGPL is an issue. Does GtkD not allow dynamic
linking?
I am not an expert at all in the topic of licensing. This is my
understanding:
Gtk has the
On Tuesday, 28 January 2020 at 14:01:35 UTC, Mike Parker wrote:
Robert Schadek was inspired by a post he saw on Hacker News a
while back showing an implementation of wc in Haskell totaling
80 lines.
I enjoyed the article overall, but I think this part lets it down
a bit:
Is the Haskell wc
On Tuesday, 17 December 2019 at 17:34:07 UTC, H. S. Teoh wrote:
On Tue, Dec 17, 2019 at 01:34:16AM +, bachmeier via
Digitalmars-d-announce wrote: [...]
Oh, I don't doubt that. My point was that it makes the D
language project look like a small-scale open source project
relying on
On Tuesday, 5 November 2019 at 12:20:04 UTC, Jacob Carlborg wrote:
On Tuesday, 5 November 2019 at 11:49:20 UTC, Daniel Kozak wrote:
Generally no, because Apline use musl libc instead of glibc,
so there are some issues with that
The correct way is to use static linking and putting only the
On Saturday, 28 September 2019 at 02:59:20 UTC, Murilo wrote:
On Thursday, 23 November 2017 at 12:18:38 UTC, ketmar wrote:
recently i worked on remake of DOS remake of Konami's
Knightmare game[0]. the game is playable now, it has music
from original MSX Knightmare, and sfx/gfx/levels from DOS
On Wednesday, 24 July 2019 at 07:47:03 UTC, Alireza SN wrote:
Hi, I'm new to D. Thought it would be fun to write a simple
snake game for start.
I hope it's not irrelevant to post it here.
https://github.com/TheWeirdDev/SnakeD
I posted it to the dlang subreddit:
On Monday, 5 November 2018 at 16:06:38 UTC, Pander wrote:
As reported in
https://forum.dlang.org/thread/rgmbwuwfihauvngqm...@forum.dlang.org I've written a brief tutorial for the Pi board.
I'm pretty new to D and the community so any suggestion is
really highly appreciated.
Bye,
Andrea
On Friday, 9 March 2018 at 05:34:31 UTC, bauss wrote:
Lmao I love Reddit.
The D hate has moved onto a new level.
Instead of hating on D, it's now geared towards the amount of
upvotes a D post on reddit gets.
What an amusement.
To be fair, some things get posted to /r/programming that
On Monday, 23 October 2017 at 05:26:17 UTC, Adil wrote:
That email server is blocked.
Other way round: SORBS is blocking your GMail server. They do
stupid stuff like that sometimes :/
It might work if you try again later.
On Monday, 4 September 2017 at 19:25:59 UTC, Jonathan M Davis
wrote:
We haven't decided when exactly to meet up yet
Any updates?
On Monday, 4 September 2017 at 19:25:59 UTC, Jonathan M Davis
wrote:
Several of us from the D community will be in Hong Kong on a
business trip next week (me, John Colvin, Atila Neves, and Ilya
Yaroshenko), and our client, Symmetry Investments[1], has
offered to sponsor a dlang meetup. We
On Wednesday, 23 August 2017 at 17:44:31 UTC, Jonathan M Davis
wrote:
I confess that I tend to think of betterC as a waste of time.
The overwhelming majority of programmers don't need betterC. At
all. But today we live in a world where practically everything
just builds on top of C, and we
On Wednesday, 23 August 2017 at 16:17:57 UTC, SrMordred wrote:
No structs in -betterC ???
I haven't tried the latest iteration of betterC yet, but the
longstanding problem is that the compiler generates TypeInfo
instances for structs, and TypeInfos are classes, which inherit
from Object,
On Monday, 9 January 2017 at 13:42:01 UTC, Mike wrote:
On Sunday, 8 January 2017 at 22:14:36 UTC, Iain Buclaw wrote:
1) -fno-rtti should be a flag that is honoured by the compiler.
The more I think about it the more I dislike the whole idea of
-fno-rtti. All I've ever wanted from the D
On Tuesday, 27 December 2016 at 04:36:54 UTC, Martin Nowak wrote:
-fPIC became default for all linux 64-bit binaries and packages
in order to support PIE (default on Ubuntu 16.10 and hardened
Gentoo).
AFAIK, the only way to disable PIC for a specific build is to use
a local dmd.conf that
On Sunday, 18 December 2016 at 02:37:22 UTC, Mike wrote:
I abandoned D sometime ago largely because of
https://issues.dlang.org/show_bug.cgi?id=14758 (but there were
other reasons), so your blog post is interesting to me. It is
unfortunate that we have to resort to such hackery, but its
nice
As it stands, the -betterC flag is still immature and only
removes a bit of the D runtime. I've been playing around a bit
to see what could be possible. To do that, I've had to do some
linker hacking to make code that's completely free of D runtime
dependencies.
I thought I'd write
On Monday, 13 June 2016 at 20:12:27 UTC, Walter Bright wrote:
On 6/12/2016 4:27 PM, Jason White wrote:
I don't understand this dependency-phobia.
It's the "first 5 minutes" thing. Every hiccup there costs us
maybe half the people who just want to try it out.
...
The makefiles, especially
On Tuesday, 3 May 2016 at 03:10:57 UTC, Walter Bright wrote:
Jet lagged as I am, I'll be at breakfast at Hotel Ibis at
630am. Come and join me!
Damn, I got there at 7:30. Anyone else still around?
(I don't use Twitter.)
Yeah, there's a lot more stuff I could have talked about, but I
think I'll leave it for other posts.
About testing, I think the way protection works in D (i.e.,
private members are accessible within the same file) is
important, too. I was a bit suspicious of that feature when I
first looked
On Monday, 28 March 2016 at 09:59:12 UTC, ag0aep6g wrote:
On 28.03.2016 03:44, sarn wrote:
https://theartofmachinery.com/2016/03/28/dirtying_pure_functions_can_be_useful.html
From there:
Well, you can get the usual (“strong”) purity guarantee just
by making all pointer or reference type
D's implementation of functional purity supports "weak" purity -
functions that can mutate arguments but are otherwise
traditionally pure.
I wrote a post about some of the practical benefits of this kind
of purity:
27 matches
Mail list logo