On Thursday, 25 January 2024 at 12:33:31 UTC, cookiewitch wrote:
Fluid is a flexible UI library for the D programming language.
Minimal setup. Declarative. Non-intrusive.
Awesome!
On Thursday, 9 November 2023 at 04:02:48 UTC, Lingo Chen wrote:
Yes, the wasmgc's main selling point is the sharing of GC and
TypeInfo between Javascript and WASM.
Not just javascript, but any WASM runtime.
Sharing of data between the JS/WASM are problematic. JS has no
destructor, so it
On Monday, 6 November 2023 at 23:44:11 UTC, Lingo Chen wrote:
On Monday, 6 November 2023 at 11:05:45 UTC, Sebastiaan Koppe
wrote:
https://llvm.org/devmtg/2022-11/slides/TechTalk3-ClangClang-WebAssembly.pdf
llvm ir seems to have support for the reftype(gc). so it a
compiler problem?
Unsure
On Monday, 6 November 2023 at 00:47:43 UTC, Lingo Chen wrote:
On Sunday, 5 November 2023 at 16:18:53 UTC, Sebastiaan Koppe
wrote:
On Sunday, 5 November 2023 at 01:28:25 UTC, Lingo Chen wrote:
https://v8.dev/blog/wasm-gc-porting
wasmgc is shipping. any plan for porting?
My understanding is
On Sunday, 5 November 2023 at 01:28:25 UTC, Lingo Chen wrote:
https://v8.dev/blog/wasm-gc-porting
wasmgc is shipping. any plan for porting?
My understanding is that it requires emitting dedicated
instructions for allocating such objects, as well as dedicated
instructions for accessing them.
On Friday, 23 June 2023 at 14:32:51 UTC, Mike Parker wrote:
[...]
Walter brought up [Sebastiaan Koppe's presentation from last
year](https://youtu.be/hJhNhIeq29U) on structured concurrency.
He said he'd like to see Sebastiaan there this year for an
update on the project, preferably as a
On Monday, 6 June 2022 at 04:59:05 UTC, Ola Fosheim Grøstad wrote:
For instance if a sort function fails, then you can call a
slower sort function.
Or in terms of actors/tasks: if one actor-solver fails
numerically, then you can recover and use a different
actor-solver.
Those are not
On Sunday, 5 June 2022 at 06:31:42 UTC, Ola Fosheim Grøstad wrote:
On Sunday, 5 June 2022 at 00:40:26 UTC, Ali Çehreli wrote:
That is not very probable in 100% @safe code. You are basically
saying that D cannot compete with Go and other «safe» languages.
Go has panic. Other languages have
On Saturday, 4 June 2022 at 17:17:13 UTC, Ola Fosheim Grøstad
wrote:
Why can't Error unwind the stack properly?
It does normally, but it doesn't destruct objects when those are
in `nothrow` functions.
Nothrow functions don't throw, so have no cleanup.
You could argue it is strange that
On Saturday, 4 June 2022 at 01:17:28 UTC, Steven Schveighoffer
wrote:
If a thread does not catch an error and end the program, that's
a defect in druntime I think. If it tries to rethrow the
exception in the main thread (oh, man I have to check... Yeah,
this is what it does), then it's
On Saturday, 4 June 2022 at 14:19:22 UTC, Ola Fosheim Grøstad
wrote:
Also, what it is the purpose of @safe if you have to kill all
threads? Such rigidity will just make Go look all the more
attractive for service providers!
I agree with this, but given the current semantics there is
nothing
On Tuesday, 10 May 2022 at 10:49:06 UTC, Andrea Fontana wrote:
On Tuesday, 10 May 2022 at 08:32:15 UTC, Sebastiaan Koppe wrote:
The difference is that with the route uda you can *only* map
routes 1:1 exhaustively. With your approach it is up to the
programmer to avoid errors. It is also hard
On Monday, 9 May 2022 at 20:37:50 UTC, Andrea Fontana wrote:
On Monday, 9 May 2022 at 20:08:38 UTC, Sebastiaan Koppe wrote:
As an example, how many requests per second can you manage if
all requests have to wait 100 msecs?
For non critical workload you will probably still hit good
enough
On Sunday, 8 May 2022 at 21:32:42 UTC, Andrea Fontana wrote:
Every request is processed by a worker running in an isolated
process, no fibers/threads, sorry (or thanks?)
I did some tests and the performance sounds good: on a local
machine it can handle more than 100_000 reqs/sec for a simple
On Thursday, 7 April 2022 at 21:32:34 UTC, Martin Nowak wrote:
Glad to announce D 2.099.1, ♥ to the 12 contributors.
http://dlang.org/download.html
This point release fixes a few issues over 2.099.0, see the
changelog for more details.
http://dlang.org/changelog/2.099.1.html
-Martin
On Sunday, 16 January 2022 at 20:01:09 UTC, JN wrote:
On Saturday, 15 January 2022 at 23:15:16 UTC, JN wrote:
Is there some way I could improve this with some D features?
My main gripes with it are:
Managed to dramatically simplify it to 10 lines of code with
variadic templates.
```d
On Tuesday, 16 November 2021 at 13:34:49 UTC, Jacob Carlborg
wrote:
# Cross-Platform GitHub Action 0.3.0
I would like to announce a new release of [Cross-Platform
GitHub
Action](https://github.com/marketplace/actions/cross-platform-action),
On Monday, 15 November 2021 at 22:49:12 UTC, Ali Çehreli wrote:
Trying with it produces an error when 'new' is not used:
Error: reference to local variable `file` assigned to non-scope
parameter `p` calling deneme.ByChunk.opAssign
The error is what the OP wanted, so that is expected.
On Monday, 15 November 2021 at 15:56:57 UTC, WebFreak001 wrote:
is this currently possible or maybe possible with DIP1000?
Yes it is. But besides `-dip1000` and `@safe`, it requires the
use of a pointer:
```D
@safe:
struct ByChunk {
FileReader* r;
void popFront() {}
}
struct
On Tuesday, 9 November 2021 at 19:30:20 UTC, tchaloupka wrote:
On Monday, 8 November 2021 at 23:26:39 UTC, tchaloupka wrote:
Bug or feature? :)
I've reported it in
https://issues.dlang.org/show_bug.cgi?id=22498.
It doesn't copy. It just destructs the same object twice... Ouch.
Change the
On Friday, 15 October 2021 at 03:35:44 UTC, jfondren wrote:
The book, "The Go Programming Language" has this simple
goroutine example:
[...]
Here is a similar implementation using the concurrency library:
```d
import concurrency;
import concurrency.stream;
import concurrency.sender :
On Friday, 15 October 2021 at 11:52:24 UTC, hatf0 wrote:
Very cool! This all would not be possible with your wasm
forks -- they are the saving grace here.
Nice that you got it running.
GC also needs some investigation (or malloc), as I keep get
spurious OOM errors. Could be because dmd is
On Thursday, 14 October 2021 at 22:58:37 UTC, hatf0 wrote:
On Thursday, 14 October 2021 at 22:56:07 UTC, hatf0 wrote:
Hi all,
I've just managed to get the full DMD front-end to work in
WebAssembly (with skoppe's druntime fork).
Cool stuff. I recently picked up my wasm forks again and
On Wednesday, 7 July 2021 at 13:30:28 UTC, Steven Schveighoffer
wrote:
On 7/7/21 5:54 AM, rassoc wrote:
On Wednesday, 7 July 2021 at 01:44:20 UTC, Steven
Schveighoffer wrote:
So I have this situation where I need to split a string, then
where the splits are, insert a string to go between the
On Sunday, 11 April 2021 at 09:10:22 UTC, tchaloupka wrote:
Hi,
we're using vibe-d (on Linux) for a long running REST API
server and have problem with constantly growing memory until
system kills it with OOM killer.
[...]
But this is very bad for performance so we've prolonged the
interval
On Thursday, 31 December 2020 at 16:03:54 UTC, Ola Fosheim
Grøstad wrote:
On Thursday, 31 December 2020 at 14:56:37 UTC, Sebastiaan Koppe
wrote:
It could take a few years indeed, but what will D do in that
same time window?
What would you like to see?
For shared to mean something.
Stackless
On Thursday, 31 December 2020 at 09:57:01 UTC, Imperatorn wrote:
On Thursday, 31 December 2020 at 07:32:31 UTC, RSY wrote:
Sorry for the spam, but this is because of people like him
that people like me (i discovered D recently) that can't be
aware of why D is a great language
They diminish
On Saturday, 12 December 2020 at 18:15:11 UTC, vnr wrote:
Yes, I know Pegged, it's a really interesting parser generator
engine, nevertheless, the grammar of what I would like to
analyse is not a PEG. But I am also curious to know the
performances of this tool for very large inputs.
The
On Sunday, 25 October 2020 at 06:05:27 UTC, Vino wrote:
Hi All,
Currently we are testing various json module such as
"std.json, std_data_json, vibe.data.json and asdf", the below
code works perfectely while use "std_data_json or
vibe.data.json" but not working as expected when we use
On Thursday, 22 October 2020 at 08:59:18 UTC, Robert burner
Schadek wrote:
I should stop ranting now.
Not at all, I love it. Nice project.
On Friday, 25 September 2020 at 13:08:16 UTC, Sebastiaan Koppe
wrote:
On Friday, 25 September 2020 at 11:58:53 UTC, Ferhat Kurtulmuş
How can I implement schedulePWMSignalToValve(pwmval,
afterNmilliseconds ) using fibers?
No need for fibers per se.
Can also use
On Friday, 25 September 2020 at 11:58:53 UTC, Ferhat Kurtulmuş
wrote:
int main(){
...
while(true){
int pwmval = getFlameIntensityViaImageProcessing();
sendPWMSignalToValfe(pwmval); // I need this streamed
ctrl signal to the valfe with a delayed time shift
//
On Thursday, 20 August 2020 at 18:58:43 UTC, mw wrote:
Hi,
I run into an issue: it's SIGUSR1 in clock_nanosleep()
[...]
Anyone has some suggestions on how to isolate this issue?
Thanks.
Try "handle SIGUSR1 nostop noprint" and "handle SIGUSR2 nostop
noprint" in gdb.
On Sunday, 12 July 2020 at 10:01:54 UTC, greatsam4sure wrote:
I am thinking of building an App with Vibe. D or NodeJS but my
topmost priority is speed and ease of development due to third
party libraries integration.
How much speed do you need? I doubt you really need every last
millisecond,
On Tuesday, 23 June 2020 at 18:15:25 UTC, tirithen wrote:
Anyone that has something similar working with struct objects?
Passing anything besides int/double/bool between JS and wasm is
hard work.
Currently the ABI generated by LDC is so that arguments besides
int/double/bool (and
On Tuesday, 23 June 2020 at 07:30:29 UTC, Stanislav Blinov wrote:
On Tuesday, 23 June 2020 at 05:24:37 UTC, H. S. Teoh wrote:
I'm also wondering what's the motivation behind supporting
non-copyable ranges, and whether it's worth the effort and
inevitable complications to support it if it's a
On Sunday, 21 June 2020 at 00:06:12 UTC, Paul Backus wrote:
Now available on Dub, by "popular demand"!
Links:
- Documentation: https://addle.dpldocs.info/addle.html
- Dub: https://code.dlang.org/packages/addle
- Github: https://github.com/pbackus/addle
Cool. Thanks.
On Wednesday, 17 June 2020 at 16:01:29 UTC, Paul Backus wrote:
A while ago, I collaborated briefly with Adam Kowalski from the
Dlang discord server on some code to emulate C++-style
argument-dependent lookup in D. Using that code, your example
above would be written:
On Saturday, 13 June 2020 at 15:11:49 UTC, Atila Neves wrote:
Tardy lets users have their cake and eat it too by not making
them have to use classes for runtime polymorphism.
This is one of those things that is so obvious in hindsight.
Genius.
On Saturday, 30 May 2020 at 23:39:31 UTC, mw wrote:
Am I doing the right thing in D? any improvement you'd suggest?
e.g. I don't quite like have to put the type and var name in
the quotes as string:
mixin(RW!("int", "x"));
Is there a better way to achieve this? esp. for the type
On Thursday, 28 May 2020 at 16:01:35 UTC, Johannes Pfau wrote:
Am Thu, 28 May 2020 12:28:16 + schrieb Sebastiaan Koppe:
If it does come back to haunt him, he can always add a DIP to
make extern(!D) @system by default. It won't invalidate any
work.
This would be another round of massively
On Thursday, 28 May 2020 at 09:21:09 UTC, Jonathan M Davis wrote:
He did unfortunately manage to convince Atila, so the DIP has
been accepted, but based on the discussions, I think that you
may be the only person I've seen say anything positive about
the DIP treating extern(C) functions as
On Thursday, 14 May 2020 at 09:36:33 UTC, Russel Winder wrote:
Whilst C frameworks use callbacks and trampolines, high level
languages seem to be basing things on futures – or things that
are effectively isomorphic to futures.
What I find most lacking is proper cancellation. Also, futures
On Tuesday, 12 May 2020 at 09:23:40 UTC, Russel Winder wrote:
On Mon, 2020-05-11 at 19:34 +0200, Jacob Carlborg via
Digitalmars-d-learn wrote:
On 2020-05-11 16:44, Russel Winder wrote:
> Crickey, a third option. This wil increase my dithering! ;-)
Forth: Mecca [1] :)
[1]
On Friday, 24 April 2020 at 06:13:09 UTC, Paulo Pinto wrote:
Great work! What is the status of WebAssembly support beyond
betterC?
Almost there.
I originally planned to complete it last February. It turned out
to be a bit more work because I didn't consider I would need to
port parts of
On Thursday, 23 April 2020 at 04:29:12 UTC, Steven Schveighoffer
wrote:
Hm... thanks for the suggestion. I'm not sure if it fits here,
as the point is to avoid runtime cost and GC allocation, not
make lookups uber-fast.
Granted, it was far-fetched.
These are meant to be short-lived things.
On Wednesday, 22 April 2020 at 21:21:31 UTC, Sebastiaan Koppe
wrote:
For the indexLookup you can also use
https://github.com/skoppe/perfect-hash
That is not quite true, only for strings.
On Wednesday, 22 April 2020 at 20:27:12 UTC, Steven Schveighoffer
wrote:
Just wanted to throw this out there on a slow day. I wrote this
little utility to generate static lookup tables, because using
an AA is too expensive for something like e.g. looking up
database row data by column name.
On Tuesday, 7 April 2020 at 19:12:49 UTC, Laurent Tréguier wrote:
So today, I am deprecating DLS, along with its editor
extensions. If anyone was using them, be advised that they will
not have any update or support from now on.
Webfreak is still working on code-d/serve-d from what I gather,
On Tuesday, 17 March 2020 at 18:55:08 UTC, Steven Schveighoffer
wrote:
He's done a lot of stuff in Scratch. I taught him and a whole
group of other homeschoolers a class on javascript and this
year (up until this whole virus thing) we were working in
Roblox (lua). So far I try to make the
On Tuesday, 17 March 2020 at 15:38:55 UTC, Steven Schveighoffer
wrote:
It's not something I'm intending to create professionally,
really the impetus is my son wanting to do more significant
game coding.
-Steve
How old is he?
I find something simple like gamemaker works well with 12-16
On Sunday, 15 March 2020 at 17:58:58 UTC, Steven Schveighoffer
wrote:
I want to try and learn how to write 2d games. I'd prefer to do
it with D.
No resources but I remember the serpent framework mentioned on
this forum here recently. It looks pretty decent.
On Saturday, 7 March 2020 at 15:44:38 UTC, Arine wrote:
I feel as though that's it's greatest weakness. It makes the
check whether there is or isn't a value hidden. The case when
there isn't a value should be handled explicitly, not
implicitly. Propogating a None value isn't useful and is
On Thursday, 5 March 2020 at 12:41:41 UTC, Sönke Ludwig wrote:
But making changes to the general architecture - be it in the
form of adding load-balancing, or more deeply rooted, such as
using GIT for storing and distributing the package index - is
something that still is definitely desirable
On Saturday, 29 February 2020 at 13:40:11 UTC, Adnan wrote:
On Saturday, 29 February 2020 at 13:03:21 UTC, Sebastiaan Koppe
wrote:
On Saturday, 29 February 2020 at 12:50:59 UTC, Adnan wrote:
* Option!T from the optional package: Has even worse problem
IMO. Not only it allows None + int but
On Saturday, 29 February 2020 at 12:50:59 UTC, Adnan wrote:
* Option!T from the optional package: Has even worse problem
IMO. Not only it allows None + int but also it returns a `[]`.
This API is not to my liking. You could say well Haskell has
fmap for Optional etc, and I am aware of that, so
On Wednesday, 12 February 2020 at 18:39:36 UTC, Steven
Schveighoffer wrote:
On 2/12/20 10:52 AM, mark wrote:
I also think you split into more HTML files which I prefer.
FYI, dlang.org has a secondary version of the docs which splits
the documents up more:
On Friday, 7 February 2020 at 08:52:44 UTC, mark wrote:
Some languages support this kind of thing:
if ((var x = expression) > 50)
print(x, " is > 50")
Is there anything similar in D?
Yes and no.
It only works for bools or things that convert to bool.
You might have seen:
string[string]
On Tuesday, 19 November 2019 at 13:27:31 UTC, Sebastiaan Koppe
wrote:
After having had another day where my CI can't build because of
gateway errors, this morning I had enough. (I setup an uptime
robot so we can see how bad it actually is [1], it checks every
5 min and I just started it.)
On Thursday, 23 January 2020 at 17:05:10 UTC, Robert Schadek
wrote:
DESTROY!
Tried:
---
unittest {
immutable SemVer v1 = SemVer(1,1,1);
immutable SemVer v2 = SemVer(2,2,2);
immutable SemVer v3 = SemVer(3,3,3);
immutable SemVer v4 = SemVer(4,4,4);
immutable VersionRange a =
On Saturday, 18 January 2020 at 14:22:41 UTC, Rainer Schuetze
wrote:
This version features a first version of an intellisense engine
that is based on the DMD frontend (as of version 2.090) for
semantic analysis. It is still considered experimental and has
to be enabled on the respective
On Saturday, 4 January 2020 at 16:28:24 UTC, kinke wrote:
On Friday, 3 January 2020 at 10:34:40 UTC, Sebastiaan Koppe
wrote:
You can track the work here:
https://github.com/skoppe/druntime/tree/wasm
I gave it a quick glance; looks pretty good, and like pretty
much work. ;) - Thx.
Great.
On Sunday, 5 January 2020 at 08:24:21 UTC, Denis Feklushkin wrote:
On Friday, 3 January 2020 at 10:34:40 UTC, Sebastiaan Koppe
wrote:
- reals (probably are going to be unsupported)
It seems to me for now they can be threated as double without
any problems
Yeah, that is what I have done
On Saturday, 23 November 2019 at 10:29:24 UTC, Johan Engelen
wrote:
On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe
wrote:
This is my proposal for porting D runtime to WebAssembly. I
would like to ask you to review it. You can find it here:
On Wednesday, 18 December 2019 at 22:00:20 UTC, tirithen wrote:
I want to have a array/list/queue of instances of various
struct types that represent events. How can I achieve that?
With classes I would have interfaces I guess, but I want to use
structs if possible as they seem less complex
On Wednesday, 18 December 2019 at 09:29:50 UTC, John Colvin wrote:
This is still down for me, regardless of using the IP or
address. I don't think it's just me either:
https://stats.uptimerobot.com/6mQX4Crw2L/783838659
Anytime you see the metadata working you can add
On Tuesday, 17 December 2019 at 01:34:16 UTC, bachmeier 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 volunteers (in this case Sonke) being generous with
time and resources. What manager is going to trust
On Tuesday, 26 November 2019 at 09:18:05 UTC, Thomas Brix wrote:
On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe
wrote:
This is my proposal for porting D runtime to WebAssembly. I
would like to ask you to review it. You can find it here:
On Monday, 25 November 2019 at 13:50:20 UTC, Georgi D wrote:
Hi Sebastiaan,
If you are looking at the C++ coroutines I would recommend
looking into the proposal for "First-class symmetric
coroutines in C++".
The official paper can be found here:
On Monday, 25 November 2019 at 18:44:01 UTC, thedeemon wrote:
On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe
wrote:
This is my proposal for porting D runtime to WebAssembly. I
would like to ask you to review it. You can find it here:
On Monday, 25 November 2019 at 13:28:17 UTC, Ola Fosheim Grøstad
wrote:
On Monday, 25 November 2019 at 12:52:46 UTC, Sebastiaan Koppe
wrote:
As an example, it is just a matter of time before a PaaS
provider fully embraces wasm.
This sounds interesting, I've been pondering about serverless
On Monday, 25 November 2019 at 12:15:42 UTC, Joseph Rushton
Wakeling wrote:
What's currently broken or impossible in DUB? What parts of
that can be fixed without changing the config or CLI? And what
improvements are most efficiently made via breaking changes?
Please, let's bring our focus
On Monday, 25 November 2019 at 12:19:30 UTC, Joseph Rushton
Wakeling wrote:
On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe
wrote:
This is my proposal for porting D runtime to WebAssembly. I
would like to ask you to review it. You can find it here:
On Monday, 25 November 2019 at 09:01:15 UTC, Dukc wrote:
On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe
wrote:
This is my proposal for porting D runtime to WebAssembly. I
would like to ask you to review it. You can find it here:
On Sunday, 24 November 2019 at 18:46:04 UTC, Jacob Carlborg wrote:
On 2019-11-23 10:51, Sebastiaan Koppe wrote:
This is my proposal for porting D runtime to WebAssembly. I
would like to ask you to review it. You can find it here:
https://gist.github.com/skoppe/7617ceba6afd67b2e20c6be4f922725d
On Saturday, 23 November 2019 at 15:23:41 UTC, Alexandru Ermicioi
wrote:
On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe
wrote:
This is my proposal for porting D runtime to WebAssembly. I
would like to ask you to review it. You can find it here:
On Saturday, 23 November 2019 at 12:40:20 UTC, Ola Fosheim Gr
wrote:
On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe
wrote:
This is my proposal for porting D runtime to WebAssembly. I
would like to ask you to review it. You can find it here:
On Saturday, 23 November 2019 at 10:29:24 UTC, Johan Engelen
wrote:
Perhaps you can explicitly clarify that "port" in this context
means that you will add the required version(WebAssembly)
blocks in the official druntime, rather than in a fork of
druntime.
Indeed. It will not be a fork, but
This is my proposal for porting D runtime to WebAssembly. I would
like to ask you to review it. You can find it here:
https://gist.github.com/skoppe/7617ceba6afd67b2e20c6be4f922725d
On Tuesday, 19 November 2019 at 12:06:36 UTC, Dukc wrote:
On Monday, 18 November 2019 at 19:35:13 UTC, Sebastiaan Koppe
wrote:
Well yes. But that is just the way things worked up until now,
ldc and dub just pick the host machine.
Luckily there is the new dub `--arch` argument that can take a
After having had another day where my CI can't build because of
gateway errors, this morning I had enough. (I setup an uptime
robot so we can see how bad it actually is [1], it checks every 5
min and I just started it.)
I know, I can setup my CI to cache dub packages. But that is just
an
On Wednesday, 13 November 2019 at 18:10:15 UTC, Dukc wrote:
On Wednesday, 13 November 2019 at 15:41:01 UTC, Sebastiaan
Koppe wrote:
It has been on the back of my mind since 1.18-beta came out. I
am going to reserve a little time tomorrow to work on it.
Regarding that, perhaps I can save you a
On Monday, 18 November 2019 at 10:32:29 UTC, Mihails wrote:
https://github.com/mihails-strasuns/setup-dlang/releases/tag/v0.4.0
Note: assuming no new issues will be found in a next few weeks,
this will be eventually promoted to the 1.0.0 release. Fingers
crossed.
Thanks for this. It works
On Monday, 18 November 2019 at 09:53:56 UTC, Paolo Invernizzi
wrote:
A win-win move would be to have dud emit the other formats
automatically as part of the compilation procedure, so to have
always all of them present and synced on the content.
I already regret starting about this. Instead of
On Monday, 18 November 2019 at 08:57:58 UTC, Russel Winder wrote:
Is SDL the right format? Cargo uses TOML to great effect.
And TOML has, I suspect greater traction more widely than SDL.
I personally prefer SDL when it comes to nested data, but yeah,
that would work as well.
The point I
On Sunday, 17 November 2019 at 16:26:45 UTC, Denis Feklushkin
wrote:
On Thursday, 14 November 2019 at 23:33:06 UTC, Nick Sabalausky
(Abscissa) wrote:
Also, this, apparently, should lead to the fact that dud will
have their own package description format. Almost inevitable.
(This has already
On Monday, 11 November 2019 at 13:44:28 UTC, Robert Schadek wrote:
So dub has some problems, and personally I find its code base
very hard to get into.
I understand what you mean. What I found most disruptive to my
internal model of the code is the mutable state. It prevented me
from a solid
On Tuesday, 12 November 2019 at 16:44:06 UTC, Dukc wrote:
When trying to compile a project including newest Spasm (DUB
package) using the newest LDC via DUB, the result is:
```
lld: error: unknown argument: --no-as-needed
```
I then ran DUB with -v switch and it turned out the invocation
Thanks for the replies!
Does anyone know a reliable way of having a dub package that
contains git submodules and is to be used as a dependency?
I am looking for a way to ensure the submodules are initialised
before a build.
On Sunday, 3 November 2019 at 16:55:36 UTC, Vinod K Chandran
wrote:
int main() {
log("Trying to avoid the visual clutter aused by closing
curly braces") ;
string myStr = "Now, code looks more elegant" ;
log(myStr) ;
wait ;
end
How can i do this in D ? Especially the " #define
On Tuesday, 15 October 2019 at 19:50:33 UTC, Paul Backus wrote:
On Tuesday, 15 October 2019 at 19:19:58 UTC, Sebastiaan Koppe
wrote:
You would expect 2 to print `tuple(a)` as well, but it
doesn't. Don't know if it is a bug.
Any time you use a construct that mutates the AST (template
mixin,
Sometimes ordering is important when combining mixins and
introspection, this is another such case:
```
import std.traits;
enum myuda;
mixin template Slot(string name) {
mixin("@myuda int "~name~";");
}
struct OuterOption {
mixin Slot!"a";
}
struct App {
pragma(msg,
On Saturday, 28 September 2019 at 21:28:00 UTC, Paul Backus wrote:
New since the last announced version, 0.8.3:
- SumType is now fully compatible with DIP 1000 and BetterC!
- Self-referential SumTypes can now be nested.
Sweet! Keep up the good work.
On Friday, 27 September 2019 at 10:07:08 UTC, Dennis wrote:
On Thursday, 26 September 2019 at 09:25:28 UTC, Sebastiaan
Koppe wrote:
I would like to announce an example showcasing D interacting
with a Typescript library via WebAssembly.
I love how much work you put into WebAssembly support for
I would like to announce an example showcasing D interacting with
a Typescript library via WebAssembly.
https://github.com/skoppe/spasm-tradingview-example
I have started work on a small project that generates these
bindings automatically, leveraging the typescript compiler. This
could also
On Wednesday, 4 September 2019 at 05:52:12 UTC, Andre Pany wrote:
Hi,
I try to get the executable path from a dub package using this
command:
dub describe dscanner --data=target-path,target-name
--data-list | xargs
But the output always contains a space between target-path and
On Tuesday, 13 August 2019 at 18:28:35 UTC, Ali Çehreli wrote:
On Tuesday, 13 August 2019 at 14:04:45 UTC, Sebastiaan Koppe
> wrote:
> Convert the nodes into an D array, sort the array with
> nodes.sort!"a.x < b.x" and then iterate the array and repair
> the next/prev pointers.
If possible,
On Tuesday, 13 August 2019 at 09:48:52 UTC, Mirjam Akkersdijk
wrote:
and I would like to sort based on Node.t, how should I tackle
it, preferably without resorting to C libraries?
Convert the nodes into an D array, sort the array with
nodes.sort!"a.x < b.x" and then iterate the array and
On Friday, 9 August 2019 at 05:50:22 UTC, Ionuț Mihalache wrote:
I have here [1] my project proposal, could you give me some
opinions about it(if it's ok, what should be changed or added,
maybe removed).
Thanks,
Ionuț
I would first work out some real-world mixed-compilation
scenario's
1 - 100 of 411 matches
Mail list logo