Re: Fluid 0.6.0 — UI library for D

2024-01-25 Thread Sebastiaan Koppe via Digitalmars-d-announce
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!

Re: Good News: Almost all druntime supported on arsd webassembly

2023-11-08 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Good News: Almost all druntime supported on arsd webassembly

2023-11-08 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Good News: Almost all druntime supported on arsd webassembly

2023-11-06 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Good News: Almost all druntime supported on arsd webassembly

2023-11-05 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: D Language Foundation Monthly Meeting Summary for May 2023

2023-06-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Release: serverino - please destroy it.

2022-05-10 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Release: serverino - please destroy it.

2022-05-10 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Release: serverino - please destroy it.

2022-05-09 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Release D 2.099.1

2022-04-08 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: [Semi-OT] Cross-Platform GitHub Action 0.3.0 - NetBSD

2021-11-16 Thread Sebastiaan Koppe via Digitalmars-d-announce
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),

Re: DMD Frontend working in WebAssembly

2021-10-15 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: DMD Frontend working in WebAssembly

2021-10-15 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Computing the next SemVer for dlang packages with dsemver

2020-10-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: addle 0.1.0 - argument-dependent lookup for UFCS functions

2020-06-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: tardy v0.0.1 - Runtime polymorphism without inheritance

2020-06-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: tardy v0.0.1 - Runtime polymorphism without inheritance

2020-06-13 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: Rationale for accepting DIP 1028 as is

2020-05-29 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Rationale for accepting DIP 1028 as is

2020-05-28 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: LDC 1.21.0

2020-04-24 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: lookuptable

2020-04-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: lookuptable

2020-04-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: lookuptable

2020-04-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: DLS deprecation

2020-04-07 Thread Sebastiaan Koppe via Digitalmars-d-announce
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,

Re: code.dlang.org reliability update

2020-03-05 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: dub 502 bad gateway

2020-01-30 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.)

Re: dud: A dub replacement

2020-01-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
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 =

Re: Visual D 0.51.0 - semantic engine based on dmd frontend

2020-01-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Proposal for porting D runtime to WebAssembly

2020-01-07 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: Proposal for porting D runtime to WebAssembly

2020-01-07 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Proposal for porting D runtime to WebAssembly

2020-01-03 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: code.dlang.org downtime

2019-12-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: code.dlang.org downtime

2019-12-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Proposal for porting D runtime to WebAssembly

2019-11-26 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: Proposal for porting D runtime to WebAssembly

2019-11-26 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: Proposal for porting D runtime to WebAssembly

2019-11-26 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: Proposal for porting D runtime to WebAssembly

2019-11-25 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-25 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Proposal for porting D runtime to WebAssembly

2019-11-25 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: Proposal for porting D runtime to WebAssembly

2019-11-25 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: Proposal for porting D runtime to WebAssembly

2019-11-24 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Proposal for porting D runtime to WebAssembly

2019-11-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: Proposal for porting D runtime to WebAssembly

2019-11-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
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:

Re: Proposal for porting D runtime to WebAssembly

2019-11-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Proposal for porting D runtime to WebAssembly

2019-11-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

dub 502 bad gateway

2019-11-19 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: setup-dlang v0.4.0 released

2019-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: sumtype 0.9.0: BetterC and DIP 1000 support

2019-09-28 Thread Sebastiaan Koppe via Digitalmars-d-announce
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.

Re: Demo: Calling Typescript library from D via WebAssembly

2019-09-27 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Demo: Calling Typescript library from D via WebAssembly

2019-09-26 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: SAOC - Looking for a mentor

2019-08-09 Thread Sebastiaan Koppe via Digitalmars-d-announce
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

Re: Spasm - webassembly libary for single page applications

2019-08-07 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 6 August 2019 at 22:57:52 UTC, a11e99z wrote: tried. --combined => got error about time.d. could not fix, idk how to fix. If calling ldc2 manually you need to use the -betterC flag, see https://wiki.dlang.org/Generating_WebAssembly_with_LDC for the minimal working example. so,

Re: Spasm - webassembly libary for single page applications

2019-08-06 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 6 August 2019 at 19:02:09 UTC, a11e99z wrote: hi. can not compile for Windows LDC ver 1.16.0. Currently ldc 1.16.0 isn't supported. You can downgrade to ldc 1.15.0 spasm 0.1.13: target for configuration "library" is up to date. test_spasm ~master: building configuration

Re: Redis client hunt-redis RC1 released

2019-07-27 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 27 July 2019 at 21:09:47 UTC, zoujiaqing wrote: I'm sorry. I'm durking to litght, I want to respect all software authors and keep copyright, but we don't know how to express it. In every source file you simply paste the original copyright at the top. And then maybe add "ported

Re: Ownership and Borrowing in D

2019-07-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 23 July 2019 at 19:15:44 UTC, Olivier FAURE wrote: That's as good a time as any to plug my own proposal draft: https://gist.github.com/PoignardAzur/9896ddb17b9f6d6f3d0fa5e6fe1a7088 Any thoughts? So in a nutshell, a variable with the unique qualifier ensures that there are no

Re: Ownership and Borrowing in D

2019-07-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 23 July 2019 at 04:02:50 UTC, Timon Gehr wrote: On 21.07.19 02:17, Walter Bright wrote: On 7/20/2019 3:39 PM, Sebastiaan Koppe wrote: Do you mean to keep track of ownership/borrowedness manually? No, that's what the copyctor/opAssign/dtor semantics so. This is not true. I

Re: Ownership and Borrowing in D

2019-07-20 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 20 July 2019 at 21:56:50 UTC, Walter Bright wrote: On 7/20/2019 5:42 AM, Sebastiaan Koppe wrote: Anyway my question is whether the ownership and borrowing semantics ever gets applied to non-pointers? Currently, no. The programmer would be expected to include the correct

Re: Ownership and Borrowing in D

2019-07-20 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 16 July 2019 at 06:12:42 UTC, Walter Bright wrote: Now I just have to deliver the goods! I am very excited about this, together with unique these are some very desired semantics. I have a practical question. In spasm I have to solve the lifetime of javascript objects that are

Re: S2Geometry Library Release v0.2

2019-05-25 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 25 May 2019 at 11:48:12 UTC, Vijay Nayar wrote: D's philosophy of having a large tool-box makes this work doable by a single person while other languages have spent many years with many contributors. Great work! Can you tell something about how you converted the code and how you

Re: Phobos now compiling with -dip1000

2019-03-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 23 March 2019 at 03:06:37 UTC, Walter Bright wrote: Many thanks to Sebastian Wilzbach, Nicholas Wilson, Mike Franklin, and others! It's been a long and often frustrating endeavor, but we made it and I'm very pleased with the results. This is really nice. I congratulate your

Re: DConf 2019 Schedule

2019-03-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 17 March 2019 at 22:43:28 UTC, Mike Parker wrote: We're extending the Early-Bird Discount until March 24, so if you haven't registered yet, you still have a chance to save. No definitive word yet on whether we'll be offering a 201 attendee discount, but I should know something this

Re: LDC 1.15.0-beta1

2019-03-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 9 March 2019 at 19:57:36 UTC, kinke wrote: Please help test, and thanks to all contributors! Thank you very much guys! I opened an issue https://github.com/ldc-developers/ldc/issues/3023 about exports in WebAssembly. ldc 1.14's default is to export pretty much everything, and

Re: Project Highlight: Spasm

2019-03-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 1 March 2019 at 13:26:58 UTC, Olivier FAURE wrote: Would the author be interested in structural level-feedback? As in, not "I wish there was this feature", but "I think the way you're doing X and Y is wrong, and the project would probably benefit from a complete refactoring". I

Re: Project Highlight: Spasm

2019-03-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 1 March 2019 at 07:28:06 UTC, Radu wrote: Dip1000 would make reference counting safe. Memory management should be handled by reference counting. RC should delegate malloc, free to an allocator. I see. Yeah, RC could work. Sure. Hence my suggestion to implement a typed malloc.

Re: Project Highlight: Spasm

2019-02-28 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Thursday, 28 February 2019 at 12:47:32 UTC, Radu wrote: Re. the memory management section, I wonder if reference counting using dip1000 would work for memory management. At least partly. One memory issue spasm has is to release JS objects once D code is done with them. The approach I am

Re: Spasm 0.1.3 released - with bindings to web apis

2019-01-30 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 30 January 2019 at 00:22:15 UTC, WebFreak001 wrote: the underrun example looks really cool! I'm on linux but I don't use docker Wait, you are on linux. Why doesn't your ldc have wasm target? How did you install it? I will try out making something with spasm soon! Cool.

Re: Spasm 0.1.3 released - with bindings to web apis

2019-01-27 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 26 January 2019 at 15:34:15 UTC, WebFreak001 wrote: amazing! I would really like to try it but it seem the precompiled LDC version doesn't support the wasm output and I have no idea what that wercker stuff is you mentioned or how to use the container you sent with compiling on my

Re: Spasm 0.1.3 released - with bindings to web apis

2019-01-27 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 26 January 2019 at 23:40:01 UTC, Mike Franklin wrote: This is really cool; nice work! Thanks. Are you aware of SignalR, and do you see something similar eventually being added to Spasm? I don't use .NET myself, but I once reverse engineered a signalR client for some data feed

Spasm 0.1.3 released - with bindings to web apis

2019-01-26 Thread Sebastiaan Koppe via Digitalmars-d-announce
Spasm is a betterC library for web development that uses LDC to compile to WebAssembly, and I just released a major update. It now has bindings to most web api's, like the dom, fetch, audio, webgl, etc. So you can do things like this: --- import spasm.bindings; import spasm.dom; import

Re: Top Five World’s Most Underrated Programming Languages

2019-01-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 23 January 2019 at 09:14:18 UTC, Bienlein wrote: On Friday, 18 January 2019 at 08:55:23 UTC, Paulo Pinto wrote: D really needs its killer use case if it is to move away from that list. D is a lot like Scala on the JVM: Both language have myriads of language features and bells

Re: DConf 2019: Shepherd's Pie Edition

2018-12-28 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 28 December 2018 at 16:31:01 UTC, Adam D. Ruppe wrote: For last year's meeting, my manager (the team I'm on has done our meetings differently for a while) convinced the CEO to try a more interactive approach for the org-wide meeting too. We did that speaker intro, small random group

Re: Fuzzed - a program to find DMDFE parser crash

2018-12-15 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 15 December 2018 at 15:37:19 UTC, Basile B. wrote: I think this is what Walter calls "AST poisoning" (never understood how it worked before today). And the whole parser is like this. This poisoning kills the interest of using a fuzzer. 99% of the crashes will be in hdrgen. As

Re: Fuzzed - a program to find DMDFE parser crash

2018-12-15 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 15 December 2018 at 11:29:45 UTC, Basile B. wrote: Fuzzed [1] is a simple fuzzer for the D programming language. It allows to detect sequences of tokens that crash the parser. While the D front end is not yet used to make tools, if this ever happens the parser will have to accept

Re: DLP identify leaf functions

2018-12-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Friday, 30 November 2018 at 20:10:05 UTC, Jacob Carlborg wrote: I would like to announce a new project I've started, called DLP (D Language Processing). Currently it's quite experimental but the idea is that it would contain a collection of commands for inspecting D code in various ways. It

Re: Ported js13k game underrun to D targeting webassembly

2018-11-19 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 19 November 2018 at 11:13:52 UTC, Dukc wrote: I had a look at your code, and just now I realized that spasm can really call JavaScript without any glue from JavaScript side. I am not sure where you got that impression from, but I am afraid you'll still need js glue code. This is

Re: Ported js13k game underrun to D targeting webassembly

2018-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 18 November 2018 at 19:51:06 UTC, Steven Schveighoffer wrote: Really cool. I didn't play the original, but I found this reasonably straightforward. I love this this webassembly stuff, I think it's a fantastic demonstration, and test for the power of D. Thanks, I think so too.

Re: Ported js13k game underrun to D targeting webassembly

2018-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 18 November 2018 at 10:33:14 UTC, blahness wrote: Good stuff. Any reason why the music & some of the sound effects are missing? Yep, I have only ported the most essential sound effects. The music I skipped entirely. It wouldn't be much work since the audio api / buffers are already

Ported js13k game underrun to D targeting webassembly

2018-11-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
Underrun is small game build by Dominic Szablewski for the 2018 js13kGames competition. I decided to port it to D and to target webassembly. You can play the game here https://skoppe.github.io/spasm/examples/underrun/ It is part of my endeavour into the wonderful world of webassembly. I

Re: Spasm - webassembly libary for single page applications

2018-10-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 17 October 2018 at 19:07:16 UTC, aberba wrote: A common use case for wasm is to port C++ native apps to web. e.g. is the recent autoCAD web app which does almost everything the desktop app can. That's the only reason to IMO do stuff in wasm. Games, productivity software,

Re: Spasm - webassembly libary for single page applications

2018-10-16 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Tuesday, 16 October 2018 at 03:23:21 UTC, Jesse Phillips wrote: It would be cool if D provided the easiest way to develop webasm first to see if it could claim that market. If you have some minutes to spare it would be great if you could try it out. It should only take 10min to render your

Re: Spasm - webassembly libary for single page applications

2018-10-14 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 14 October 2018 at 06:03:10 UTC, Bogdan wrote: Awesome work! I remember that, at some point the https://glimmerjs.com/ authors wanted to write their vm in rust for better performance. It looks like D is a new option for such projects. Bogdan Thanks, a lot of credits go to LDC

Re: Spasm - webassembly libary for single page applications

2018-10-13 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 13 October 2018 at 04:34:28 UTC, Nick Sabalausky (Abscissa) wrote: What are the main current limitations? Mainly that it is written in betterC, which is quite the limitation if you are used to freely call anything from phobos, or expect the GC to clean up. Also I currently

Re: Spasm - webassembly libary for single page applications

2018-10-13 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 13 October 2018 at 04:34:28 UTC, Nick Sabalausky (Abscissa) wrote: Nifty, I'll have to look into this. Any idea what it would take to get this doing some WebGL? (Or playing audio?) Or is this more for HTML-ish sorts of stuff? This is more focused on HTML rendering, but you can do

Spasm - webassembly libary for single page applications

2018-10-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
I like to announce Spasm https://github.com/skoppe/spasm It is a webassembly library to develop single page applications and builds on my previous work (https://forum.dlang.org/post/eqneqstmwfzugymfe...@forum.dlang.org). It generates fast and small webassembly binaries. The example todo-mvc

Re: Webassembly TodoMVC

2018-09-24 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 23 September 2018 at 18:36:11 UTC, Joakim wrote: Vladimir mentioned that there's a Musl port to wasm, have you tried it? https://github.com/jfbastien/musl Druntime and ldc support Musl. Thanks for the link, I will have a look at it!

Re: Webassembly TodoMVC

2018-09-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 23 September 2018 at 17:53:32 UTC, Suliman wrote: What do you think of the struct approach compared to a traditional jsx/virtual-dom? jsx is sucks. Look at Vue.js way, if you will able to fo you framework Vue-style it will be perfect! The reason I made this wasm experiment was not

Re: Webassembly TodoMVC

2018-09-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 22 September 2018 at 14:54:29 UTC, aberba wrote: Can the SPA code be released as a separate module for WebAssembly web app development? Currently the whole thing is not so developer-friendly, it was just the easiest way for me to get it up and running. Right now I am trying to

Webassembly TodoMVC

2018-09-21 Thread Sebastiaan Koppe via Digitalmars-d-announce
Hey guys, Following the D->emscripten->wasm toolchain from CyberShadow and Ace17 I created a proof of concept framework for creating single page webassembly applications using D's compile time features. This is a proof of concept to find out what is possible. At

Re: asdf json library moved to libmir

2018-07-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 11 July 2018 at 21:42:45 UTC, yannick wrote: Hi All, Since i'll be leaving Tamedia (who sponsored development of Asdf) and it's not under active use anymore here we decided to donate it to libmir. Asdf has a few nifty features that make it perfect for reading large amounts of

Re: flycheck-dmd-dub v0.12 - Emacs on-the-fly syntax checking for D

2018-02-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Thursday, 8 February 2018 at 17:05:32 UTC, Atila Neves wrote: https://melpa.org/#/flycheck-dmd-dub flycheck already works with D, but the problem is setting the right compiler flags for your project in order to able to compile properly. flycheck-dmd-dub does this automatically for dub

Re: Trip notes from Israel

2017-05-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 22 May 2017 at 15:05:24 UTC, Andrei Alexandrescu wrote: http://dlang.org/blog/2017/05/22/introspection-introspection-everywhere/ -- Andrei Wow, that was really good. Love to read more of your trip notes.

Re: LDC 1.1.0 released

2017-02-01 Thread Sebastiaan Koppe via Digitalmars-d-announce
Awesome!

Re: Autotesting dub packages with dmd nightly

2016-08-22 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 10 August 2016 at 18:35:03 UTC, Sebastiaan Koppe wrote: So true. Then I will do PR's first. I finally got around implementing running dmd/druntime/phobos pull requests against all dub packages. Thank you digger, for making it so easy. I did a run of master + druntime#1602.

Re: Autotesting dub packages with dmd nightly

2016-08-10 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Wednesday, 10 August 2016 at 10:32:24 UTC, Martin Nowak wrote: We want better ranking of dub packages (mostly by download, but for sure also showing CI results [¹]). I was also thinking about integrating results from CI builds that packages do themselves. But there is some 'impedance

Re: Autotesting dub packages with dmd nightly

2016-08-08 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 7 August 2016 at 23:08:34 UTC, Martin Nowak wrote: I actually don't think this makes sense. You're not in the position to maintain 1K+ packages, it's the library owners that need to test their code. Thanks for taking the time to respond. I agree with you. Library owners should test

Re: Autotesting dub packages with dmd nightly

2016-08-07 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 6 August 2016 at 20:00:53 UTC, Basile B. wrote: On Saturday, 6 August 2016 at 19:06:34 UTC, Sebastiaan Koppe wrote: - code.dlang.org has an api but doesn't provide an endpoint to retrieve all packages/version. Now I just scrape the site instead (thanks Adam for your dom

  1   2   >