Re: Browsers in D

2023-12-21 Thread Adam D Ruppe via Digitalmars-d-announce
On Thursday, 21 December 2023 at 11:55:50 UTC, aberba wrote: I have this idea of building a web view based desktop app with a webserver and db backend for CRUD functionality. This looks like a great option. Yeah, it is a solid choice with a long history. Did you know the Unix Printing System

Re: Browsers in D

2023-12-20 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 20 December 2023 at 09:29:36 UTC, Paolo Invernizzi wrote: When I was the CTO of my previous company, we embedded Gecko into a custom C++ GUI framework, to allow ALS people browse the web using gazes as an input method: it was a real pain ... Wow, yeah, I know it must be

Re: Browsers in D

2023-12-20 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 20 December 2023 at 06:29:30 UTC, Hors wrote: Rust is better choice than D if you have to run code from untrusted resources (html, javascript, webassembly...) it's safer, plus faster. That's not how it actually works in any of the browsers though. The code that implements those

Re: Browsers in D

2023-12-19 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 19 December 2023 at 23:40:48 UTC, Antonio wrote: It was not the first neither the last problem that a new version of chrome caused to our company Oh, I'm old enough to remember the Chrome auto-update that broke standard HTML links! It was such a pain supporting it in the first

Re: DLF September 2023 Planning Update

2023-11-22 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 21 November 2023 at 13:13:06 UTC, Guillaume Piolat wrote: I'd argue people come to languages because of arguably alive libraries, and dead libraries less so. Yeah, I think this is solving the wrong problem, but even if we decide to do it anyway it is very important not to hurt

Re: DLF September 2023 Planning Update

2023-11-14 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 15 November 2023 at 02:27:42 UTC, Mike Shah wrote: I just want to echo Steve's sentiment, that it should be easy for new (and old) D users to start up a project without worrying about editions. Actually, this brings another question to mind: what about old users who keep up

Re: DLF September 2023 Planning Update

2023-11-14 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 14 November 2023 at 17:57:36 UTC, Steven Schveighoffer wrote: That's not any better. If you have to opt-in to the language as it exists, people are going to quit immediately. Counterpoint: javascript's "use strict". On the gripping hand though, I basically never use that and most

Re: reggae v0.10.0 - The meta build system just got better

2023-09-17 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 15 September 2023 at 20:22:50 UTC, Atila Neves wrote: An argument could be made that it could/should install the dependencies such that only one `-I` flag is needed. Indeed, this would be god tier. ~190k SLOC (not counting the many dub dependencies) killed dmd on a system with

Re: reggae v0.10.0 - The meta build system just got better

2023-09-12 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 12 September 2023 at 13:12:29 UTC, Atila Neves wrote: It does mean adding `-I` flags to every dependency though, so there's that. Not if you install them properly. And for larger codebases `dmd -i` can't and won't work. Define "larger".

Re: reggae v0.10.0 - The meta build system just got better

2023-09-11 Thread Adam D Ruppe via Digitalmars-d-announce
I tried reggae today. It did not go well. http://dpldocs.info/this-week-in-d/Blog.Posted_2023_09_11.html#reggae-editorial

Re: D Language Foundation August 2023 Monthly Meeting Summary

2023-08-22 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 22 August 2023 at 21:36:49 UTC, An Pham wrote: 1. DMD does not have consistent way of defining system attribute which can cause conflict with user attribute (DMD system attribute should start with underscore character, "_") Not true, these attributes follow module namespacing

Re: Beerconf June 2023

2023-06-24 Thread Adam D Ruppe via Digitalmars-d-announce
On Saturday, 24 June 2023 at 22:52:01 UTC, Chris Katko wrote: Will there be a YouTube/whatever mirror of the conference afterward? most the weekend is just a handful of random people coming and going at random times and talking about random stuff more of just like a online hang out than

Re: arsd 11 progress report - scheduled for release in May

2023-04-21 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 21 April 2023 at 02:34:10 UTC, Chris Piker wrote: A cursory reading of the cgi module indicates that arsd provide some of the same functionality of vibe.d, but uses multi-processes or multi-threads instead of fibers. Is that true? It actually does a lot more than that, including

arsd 11 progress report - scheduled for release in May

2023-03-21 Thread Adam D Ruppe via Digitalmars-d-announce
I haven't written much in the blog lately but I tried to catch up a little this week with a progress report of the code I intend to release in a couple more months. http://dpldocs.info/this-week-in-d/Blog.Posted_2023_03_20.html

Re: D Language Foundation January 2023 Quarterly Meeting Summary

2023-03-01 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 1 March 2023 at 13:01:03 UTC, Guillaume Piolat wrote: I think this has been the direction for years: ProtoObject, Object.factory, etc. These things don't really help with it unfortunately, but yes, this is the best goal.

Re: D Language Foundation January 2023 Quarterly Meeting Summary

2023-02-27 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 27 February 2023 at 14:18:04 UTC, M.M. wrote: In the recent post by Mike Parker, betterC is used as a great alternative to C for writing bare-metal RISC-V application: Real D can do this too. betterC needs to die, it is just arbitrary special cases that add tech debt to the

Re: D Language Foundation January 2023 Quarterly Meeting Summary

2023-02-27 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 27 February 2023 at 12:08:58 UTC, newbie wrote: with `betterC` you can target into new platform without much work, and easy to deal with dynamic library, generate much fast and smaller binary. you can do this without betterC too. often easier. And it could be even easier with a

Re: WildCAD - a simple 2D drawing application

2023-02-03 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 3 February 2023 at 08:30:55 UTC, Johann Lermer wrote: That at least should be fixed now. Confirmed, works here now! BTW I did `time make -j6` this time and it said 10 seconds, so still think the dmd -i approach better but if your incremental builds are smaller it might be better,

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 30 January 2023 at 13:51:14 UTC, Johann Lermer wrote: Where exactly does this happen to you and what window manager do you use? I use old Blackbox. But it happens always, you click the window and it pops up as if the window is at (0, 0) instead of where it actually is. Probably

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 29 January 2023 at 17:14:40 UTC, Johann Lermer wrote: right - but isn't one of make's features, that it compiles code only when the source changes? When you just compile the whole thing at once, I would expect that you get longer times than when you change just one source file and

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 29 January 2023 at 13:55:41 UTC, Richard (Rikki) Andrew Cattermole wrote: dub isn't the issue, people who fight it like this, fight the D compilers and end up having issues. dub fights D compilers. This is why it forces me to write 600 lines of ugly configuration file for something

Re: WildCAD - a simple 2D drawing application

2023-01-26 Thread Adam D Ruppe via Digitalmars-d-announce
I briefly played around with it, not bad at all. I did see the menus popped up in the wrong place though, something to note is that ConfigureNotify is a bit complicated in how it works. Let me copy/paste a comment from my simpledisplay.d: /+ The ICCCM says window managers must send a

Re: Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread Adam D Ruppe via Digitalmars-d-announce
It is my fault for resizing, i used width,height instead of width_,height_ so it used the pre-scaled things. https://github.com/adamdruppe/arsd/commit/0019a7c6fb18453125b75aec465be7e5dce6f598 I think this also broke the mouse thing since it didn't adjust for the title bar indeed and then the

Re: Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread Adam D Ruppe via Digitalmars-d-announce
On Thursday, 26 January 2023 at 00:16:09 UTC, Hipreme wrote: The only button that works is the one that makes you lose. The function that dispatches click events to the in-game windows has a bug in its y coordinate. Click about a title bar width below a button and it will trigger. I

Re: D Language Foundation Monthly Meeting Summary for December 2022

2023-01-23 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 23 January 2023 at 20:06:46 UTC, H. S. Teoh wrote: There should be a tool for auto-generating JS wrappers, perhaps even HTML snippets, so that a user literally can just write: import std; // OK, maybe import std.wasm or something void main() { writeln("Hello,

Re: D Language Foundation Monthly Meeting Summary for December 2022

2023-01-21 Thread Adam D Ruppe via Digitalmars-d-announce
On Saturday, 21 January 2023 at 04:29:28 UTC, Mike Parker wrote: As far as he understood, the only time `@property` has an effect is when you take the address of a function it annotates. It is when you do typeof(thing.prop), not Walter said that `__traits` is meant to be ugly. We should

Re: D Language Foundation Monthly Meeting Summary for November 2022

2023-01-12 Thread Adam D Ruppe via Digitalmars-d-announce
On Thursday, 12 January 2023 at 11:47:26 UTC, Mike Parker wrote: Andrei asked Razvan about the status of [the ProtoObject DIP](https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1042.md). Razvan said that Adam Ruppe had raised some valid complaints in the DIP's pull request thread, and

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

2023-01-06 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 6 January 2023 at 22:14:23 UTC, Ferhat Kurtulmuş wrote: One question. Does GC work with Adam's druntime for wasm? I haven't actually written one yet, so it leaks if you don't pay attention yourself. But I have a plan that should work: you do the setTimeout(collect, 0) so it runs

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

2023-01-06 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 6 January 2023 at 22:13:15 UTC, H. S. Teoh wrote: The big question I have right now is, what's the status of interfacing with web APIs such as WebGL? This part is really easy, you can call it from D with the opDispatch or pass it through as eval strings.

Re: Breaking news: std.uni changes!

2023-01-03 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 3 January 2023 at 05:23:55 UTC, Richard (Rikki) Andrew Cattermole wrote: The main concern would be shared libraries, which Phobos should be able to be distributed as on all platforms by all compilers. I said this on the discord chat but you should really just dynamic load the

Re: text based file formats

2022-12-21 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 20 December 2022 at 00:16:57 UTC, Walter Bright wrote: LOL, learn something every day! I've even written my own, but it isn't very good. Yeah, I wrote a csv module too back in... I think 2010, before Phobos had one. It is about 90 lines, still works. Nothing special but I

Why am I writing a THIRD text component class?!?

2022-12-19 Thread Adam D Ruppe via Digitalmars-d-announce
Take the bait. Click the link. The answer may surprise you. (ok let's be real, it probably won't surprise you, but you might enjoy the read anyway. then tell me if you guessed the reason correctly or not!!) http://dpldocs.info/this-week-in-d/Blog.Posted_2022_12_19.html

Re: text based file formats

2022-12-19 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 19 December 2022 at 09:55:47 UTC, Walter Bright wrote: Curious why CSV isn't in the list. Maybe std.csv is already good enough?

Re: text based file formats

2022-12-18 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 18 December 2022 at 15:56:38 UTC, Robert Schadek wrote: * xml, there is some code already, the old std.experimental.xml code my dom.d doesn't do the sax parser part but has its own advantages over the other things (including being continually maintained for over a decade, unlike

Re: D + Qt + QtDesigner

2022-11-24 Thread Adam D Ruppe via Digitalmars-d-announce
On Thursday, 24 November 2022 at 07:14:40 UTC, Barbara wrote: As one of the lead developers of CopperSpice I can assure you writing an effective, cross platform, thread aware, GUI library is indeed very complicated and time consuming. Yeah, I've been working on it on-and-off for over ten

Re: D + Qt + QtDesigner

2022-11-20 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 21 November 2022 at 01:38:12 UTC, thebluepandabear wrote: how about we work on our own UI library for D language in opengl or something? been there done that http://arsd-official.dpldocs.info/arsd.minigui.html

Re: blog post about how you can make your gc code faster

2022-11-09 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 9 November 2022 at 11:55:28 UTC, Guillaume Piolat wrote: I've been avoiding void[] for this reason (I mean, void[] _could_ contain pointers), but I think I'm cargo-culting this? Yeah, it actually doesn't really matter. It is the allocation type that sets the flag. So If I do:

blog post about how you can make your gc code faster

2022-11-07 Thread Adam D Ruppe via Digitalmars-d-announce
Putting aside new GC implementation tweaks like I discussed last week, and not just switching to other functions, this week I wanted to lecture a bit about how you can reduce your GC pause times in stock D today: http://dpldocs.info/this-week-in-d/Blog.Posted_2022_11_07.html

Re: parserino 0.2.0

2022-10-22 Thread Adam D Ruppe via Digitalmars-d-announce
On Saturday, 22 October 2022 at 21:58:54 UTC, Enjoys Math wrote: Nice! So it's D's answer to Python's BeautifulSoup. D has had a html tag soup parser since 2009 in my dom.d. The parserino might be more html5 compliant specifically though, as mine was written before html5 was a thing. It's

Re: Introducing alid

2022-09-14 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 14 September 2022 at 08:44:48 UTC, Ali Çehreli wrote: Considering I may want to let the users import the entire package as well with dub is poorly designed and doesn't cooperate well with D features. There's no good solution - hence the hundreds of lines long dub.json trying to

arsd 10.9 tagged

2022-08-24 Thread Adam D Ruppe via Digitalmars-d-announce
release notes on my blog: http://dpldocs.info/this-week-in-d/Blog.Posted_2022_08_22.html known as arsd-official on dub, the library is a set of about 80 generally independent modules that you can pick and choose functionality from without onerous compile time nor run time dependencies,

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-16 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 16 August 2022 at 14:57:04 UTC, Guillaume Piolat wrote: I know it isn't really related, but currently on DUB there is 4 different @nogc nothrow string library, -betterC or not, friendly licence or not, with various tradeoffs, and I'm about to add another one. Yeah. I think some

Re: my d blog has idea of effect system to replace @nogc etc

2022-08-15 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 15 August 2022 at 16:16:35 UTC, Sönke Ludwig wrote: The most prominent example would be something like vibe.d's `@blocking`, which currently just acts as documentation, but would be really useful if something like `@nonblocking` could actually be enforced at compile time - currently

my d blog has idea of effect system to replace @nogc etc

2022-08-15 Thread Adam D Ruppe via Digitalmars-d-announce
In my blog this week, I described an idea I've had percolating in my brain for a bit about a user-defined effect system that could potentially move nogc, safe, pure, etc to library aliases - which would let you combine them as a fun bonus - among other things:

Exception2 described in blog post

2022-08-01 Thread Adam D Ruppe via Digitalmars-d-announce
``` import exception2; void main() { int a; try { // string error type instead of namespaced D type // can still attach information though throw Exception2!"foo bar"(a); } catch(Exception2!"foo bar") { // caught by string

Re: Blog post on extending attribute inference to more functions

2022-07-13 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 13 July 2022 at 21:42:20 UTC, bachmeier wrote: It would be nice if you'd spam our subreddit. I don't like reddit. It is hard to use. Of course if someone else wanted to post, you can. I might see it and comment but no promises since the UI is just really hard to keep up on and

Blog post on extending attribute inference to more functions

2022-07-13 Thread Adam D Ruppe via Digitalmars-d-announce
A lot of people ask for more inferred attributes - safe, nogc, etc. I have some thoughts. Inferred Attributes Run-time dispatch Function documentation Compatibility contracts Attributes dependent on arguments ABI and .di file compatibility Compile speeds Conclusion

Re: D Community Conversations: Walter Bright on the Origins of D Part 1

2022-07-11 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 11 July 2022 at 13:37:10 UTC, Mike Parker wrote: The primary motivation is to trim the length of the video down. I think that's important for YouTube videos. This has changed a lot over recent years - the youtube algorithm now rewards longer length videos. It is the rise of the

Re: The D Programming Language Vision Document

2022-07-03 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 3 July 2022 at 19:32:56 UTC, rikki cattermole wrote: I have just finished implementing string normalization which is based around UTF-32. There's a difference between utf-32 and unicode code points. It is required for string equivalent comparisons (which is what you should be

Re: D Language Foundation June 2022 Monthly Meeting Summary

2022-06-24 Thread Adam D Ruppe via Digitalmars-d-announce
On Saturday, 25 June 2022 at 01:11:26 UTC, Mike Parker wrote: we took a vote on it and rejected it Who are "we"? Where's the roll call?

Re: Release: serverino - please destroy it.

2022-05-10 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 9 May 2022 at 20:37:50 UTC, Andrea Fontana wrote: The same goes for cgi/fastcgi/scgi and so on. Well, cgi does one process per request, so there is no worker pool (it is the original "serverless" lol). fastcgi is interesting because the Apache module for it will actually start

Re: Beerconf April 2022

2022-04-29 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 29 April 2022 at 17:07:27 UTC, rikki cattermole wrote: Password: `dub4life` I see you are gatekeeping to keep a certain clique out!

Re: D Language Foundation Monthly Meeting Summary for March 2022

2022-04-04 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 4 April 2022 at 12:23:54 UTC, rikki cattermole wrote: +1 infer everything! Well, you *can't* infer everything, but private things I do think you can get away with since they're not allowed to be virtual. Inferring more on non-virtual things is a maybe, you still have to think

Re: argparse version 0.7.0 - a CLI parsing library

2022-03-18 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 18 March 2022 at 18:21:46 UTC, Anonymouse wrote: One drawback is documentation; adrdox does *not* like these kinds of UDAs. It is on my list to run big UDAs through the auto-formatter at some point pretty soon to help with this. I just have a big work project I'm wrapping up

Re: trash-d version 15

2022-03-08 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 8 March 2022 at 16:19:13 UTC, rushsteve1 wrote: According to [the module documentation](https://dlang.org/spec/module.html) you can omit the `module x;` and it will implicitly be the file name. This is pretty flaky, I'd strongly recommend that for any module ever imported, use

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 2 February 2022 at 16:32:26 UTC, H. S. Teoh wrote: Interesting that the author(s) found D error messages better than C++, in spite of frequent complaints about error messages here in the forums. :-P No incompatibility there: "better than C++" is a very low bar.

Re: The DIID series (Do It In D)

2022-01-26 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 26 January 2022 at 15:53:44 UTC, Ola Fosheim Grøstad wrote: Is this list out of date? https://github.com/dlang-community/awesome-d You can tell it is very incomplete since it doesn't list arsd in every category. :P Well, I don't have a dedicated containers module. When I need

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 23 January 2022 at 04:12:30 UTC, H. S. Teoh wrote: On Sun, Jan 23, 2022 at 03:24:04AM +, Paul Backus via Digitalmars-d-announce wrote: [...] The way I envision it, `std` would be the "rolling release" namespace that allows breaking changes, and if you wanted stability, you'd

Re: Why I Like D

2022-01-12 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 12 January 2022 at 15:25:37 UTC, H. S. Teoh wrote: However it turns out that unless you are writing a computer game, a high frequency trading system, a web server Most computer games and web servers use GC too. idk about hf trading.

Re: DConf Online 2021 Links

2021-11-22 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 22 November 2021 at 18:26:33 UTC, Matheus wrote: I don't know the meaning of GFW prolly great firewall

Re: Beta 2.098.0

2021-10-17 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 17 October 2021 at 17:09:40 UTC, Guillaume Piolat wrote: Doing it by hand, until now, has been the preffered way to translate C and C++ headers. Why did dstep fail for them? How would importC help the bindBC project?

Re: Surprise - New Post on the GtkD Coding Blog

2021-09-09 Thread Adam D Ruppe via Digitalmars-d-announce
On Thursday, 9 September 2021 at 08:52:34 UTC, Dukc wrote: I thought that the Wayland architecture is in some way fundamentally better than X architecture That's what the wayland propagandists like to say (now... earlier they'd play up the similarities to make the "rewrite it" pill easier to

Re: Surprise - New Post on the GtkD Coding Blog

2021-09-08 Thread Adam D Ruppe via Digitalmars-d-announce
On Tuesday, 7 September 2021 at 12:29:14 UTC, Dukc wrote: On Friday, 3 September 2021 at 18:52:13 UTC, Adam D Ruppe wrote: (i loathe and despise wayland but ill try not to rant) Have you written more about this on your blog? I have not (well not directly anyway, wayland flamewars

Re: Surprise - New Post on the GtkD Coding Blog

2021-09-03 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 3 September 2021 at 15:47:41 UTC, Ron Tarrant wrote: https://gtkdcoding.com/2021/09/03/0112-gtk-gio-application-barebones.html "GTK team dropped window position handling" im p sure the wayland system either doesn't support it or STRONGLY discourages it if it was added in an

Re: SAOC 2021 Projects Summarized

2021-08-30 Thread Adam D Ruppe via Digitalmars-d-announce
On Monday, 30 August 2021 at 16:03:29 UTC, Guillaume Piolat wrote: Hyped by ProtoObject, this is our hope for a nothrow @nogc .destroy eventually! This fails today only because of the rt_finalize hook working through void*. If you cut that out... --- class Foo { ~this() @nogc

Re: LDC 1.27.0-beta3

2021-07-15 Thread Adam D Ruppe via Digitalmars-d-announce
On Thursday, 15 July 2021 at 02:54:14 UTC, rikki cattermole wrote: If yes, it might be worth it to get rid of export as a keyword out right in a DIP (as it introduces the possibility of linker errors that would otherwise not need to exist). No, that's a bad idea.

Re: DIP 1036--String Interpolation Tuple Literals--Has Been Withdrawn

2021-05-27 Thread Adam D. Ruppe via Digitalmars-d-announce
On Thursday, 27 May 2021 at 20:42:11 UTC, M.M. wrote: I assume that you, Adam and Steven, hold the new (YAI)DIP in high regards. Is that right? Yeah, there's a few small tweaks I'd make (I opened an issue on the repo with them), but I'm pretty happy with it and simplifying the goals like it

Re: CalderaD - SDL2 Vulkan renderer for windows, linux, and android

2021-05-14 Thread Adam D. Ruppe via Digitalmars-d-announce
On Friday, 14 May 2021 at 17:38:54 UTC, Danny Arends wrote: Hmm, things gotta have a license, why not GPL would CC0 be better? is attribution and sharing code so weird ? GPL is a perfectly fine license. If people don't want to use it because of that, their loss, not your problem.

Re: Release D 2.096.0

2021-03-15 Thread Adam D. Ruppe via Digitalmars-d-announce
On Sunday, 14 March 2021 at 18:25:51 UTC, starcanopy wrote: int foo() { return 1; } int foo() => 1; I'm concerned that this feature will be in purgatory if its author becomes busy or forgets about it. (Barring another individual assuming proprietorship.) I wrote the implementation for that

Re: Beerconf February 2021

2021-02-26 Thread Adam D. Ruppe via Digitalmars-d-announce
On Friday, 26 February 2021 at 18:06:45 UTC, Ali Çehreli wrote: Whose tomorrow? :) For some reason I need exact times for this. Is it all weekend hours anywhere on the world or specific UTC times? The way it works is usually one person gets on at some random point typically around the

Re: I learned something new in D this week! (anonymous class rundown)

2021-02-19 Thread Adam D. Ruppe via Digitalmars-d-announce
On Friday, 19 February 2021 at 17:41:51 UTC, Patrick Schluter wrote: DWT users knew about anonymous classes as they are used a lot there. Of course as SWT is a Java based library, D had to had the features to ease the porting. Aye, my understanding is actually they were added to do

Re: I learned something new in D this week! (anonymous class rundown)

2021-02-18 Thread Adam D. Ruppe via Digitalmars-d-announce
On Thursday, 18 February 2021 at 22:37:06 UTC, superbomba wrote: Once I start reading, I can't stop! :) Better be careful, there's about 250 entries now so you could waste away trying to read it all! (About 145 in twid's first iteration and now about 115 in the second iteration. Of course

Re: I learned something new in D this week! (anonymous class rundown)

2021-02-18 Thread Adam D. Ruppe via Digitalmars-d-announce
On Thursday, 18 February 2021 at 16:54:31 UTC, Ritter wrote: Somebody from russian D's Telegram channel translates your article into Russian. Maybe, it can be usefull Nice!

Re: I learned something new in D this week! (anonymous class rundown)

2021-02-18 Thread Adam D. Ruppe via Digitalmars-d-announce
On Thursday, 18 February 2021 at 07:28:27 UTC, Ferhat Kurtulmuş wrote: I came across anonymous classes by reading your minigui codes, such as [1] some time ago. I did not read anything about them except your sources. Good reading, thanks. Yeah, I sometimes see them on lists of features to be

I learned something new in D this week! (anonymous class rundown)

2021-02-17 Thread Adam D. Ruppe via Digitalmars-d-announce
Many of you know I've been around D for a long time now and picked up a lot of random tricks over the years, so it isn't every day I learn about a new old feature in the language's basic syntax. Would you like to know more? http://dpldocs.info/this-week-in-d/Blog.Posted_2021_02_15.html I

Re: Beerconf January 2021

2021-01-16 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 16 January 2021 at 16:28:34 UTC, Imperatorn wrote: Do you guys usually have some agenda or is it just drink n talk about D? The only agenda is MILKCONF or beerconf for people who aren't me People can gab about whatever comes to mind.

Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly wrote: Still, why not source code on Github? Is this really any different? Do you actually audit the source? simpledisplay is 17,000 lines. How much of that code is pure evil? Part of my twisted desire to burn the entire universe

Re: Our community seems to have grown, so many people are joining the Facebook group

2020-12-29 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 29 December 2020 at 15:06:07 UTC, Ola Fosheim Grøstad wrote: hostile ad hominem tone [...] deliberate attempt to fracture. tu quoque. Let's not assume any motives here. I wouldn't call it "official" either (and indeed, the title on facebook doesn't include that word) but no

Re: Httparsed - fast native dlang HTTP 1.x message header parser

2020-12-15 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 15 December 2020 at 10:04:42 UTC, tchaloupka wrote: But if these benchmarks helps Adam to make some incremental improvements it's a plus and many of that can be pretty low hanging fruit. Yeah, I think the biggest benefit to changing this around is to just avoid creating

Re: Httparsed - fast native dlang HTTP 1.x message header parser

2020-12-14 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 15 December 2020 at 00:32:42 UTC, H. S. Teoh wrote: It may not be the fastest web module in the D world It actually does quite well, see: https://github.com/tchaloupka/httpbench (from the same OP here :) ) The header parser is nothing special, but since header parsing is a

Re: Httparsed - fast native dlang HTTP 1.x message header parser

2020-12-14 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 14 December 2020 at 21:59:02 UTC, tchaloupka wrote: * arsd's cgi.d - I haven't expected it to be so much slower than vibe-d parser, it's almost 3 times slower, but on the other hand it's super simple idiomatic D (again doesn't check or allow what RFC says it should and many tests

Four new entries in my D blog including cross-package doc search release

2020-11-30 Thread Adam D. Ruppe via Digitalmars-d-announce
I aim to write a weekly blog about D, often just summarizing some recent changes to my libraries or sometimes a random rant (at times very loosely related), but I don't always keep up. Usually when I miss a couple weeks, I just post the auto-generated forum index and move on. But in November,

Re: LDC 1.24.0-beta1

2020-10-19 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 19 October 2020 at 14:20:02 UTC, Paul Backus wrote: Are we looking at the same instructions? ah i mixed it up with https://dlang.org/dmd-linux.html#installation in my brain without clicking the link :( sorry my bad those are ok.

Re: LDC 1.24.0-beta1

2020-10-19 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 19 October 2020 at 13:43:14 UTC, Bastiaan Veelo wrote: I'm not suggesting that this fills the need of newbies, but there is this: https://dlang.org/install.html. Nobody should ever follow those terrible instructions, they leave you so fragile in the event of future updates, takes

Re: LDC 1.24.0-beta1

2020-10-18 Thread Adam D. Ruppe via Digitalmars-d-announce
On Sunday, 18 October 2020 at 22:40:53 UTC, aberba wrote: Not sure what to do with the .7z file without manual tinkering. You can simply unzip it and use it directly. That's the best way to use most D compilers actually, then any versions can live side by side without affecting each other.

Re: HTTP frameworks benchmark focused on D libraries

2020-09-27 Thread Adam D. Ruppe via Digitalmars-d-announce
On Sunday, 27 September 2020 at 10:08:24 UTC, tchaloupka wrote: * new RAW tests in C to utilize epoll and io_uring (using liburing) event loops - so we have some ground base we can compare against I fixed some buffering issues in cgi.d and, if you have the right concurrency level that

Re: HTTP frameworks benchmark focused on D libraries

2020-09-27 Thread Adam D. Ruppe via Digitalmars-d-announce
I fixed my event loop last night so I'll prolly release that at some point after a lil more testing, it fixes my keep-alive numbers... but harms the others so I wanna see if I can maintain those too.

Re: beerconf September!

2020-09-26 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 26 September 2020 at 18:44:06 UTC, Andrei Alexandrescu wrote: What time is it and what's the chat link? A bunch of us coming and going at all hours, decent group on now. https://meet.jit.si/Dlang2020SeptemberBeerConf password: -preview=in

Re: HTTP frameworks benchmark focused on D libraries

2020-09-20 Thread Adam D. Ruppe via Digitalmars-d-announce
With my lib, the -version=embedded_httpd_threads build should give more consistent results in tests like this. The process pool it uses by default in a dub build is more crash resilient, but does have a habit of dropping excessive concurrent connections. This forces them to retry which

Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-08 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 8 September 2020 at 08:33:35 UTC, aberba wrote: Now I really want to sew your D web workflow and stack in use at DConf Online. Don't say no!! Yeah, I did tell the dconf people I'd do a livestream thing if they need me, but I was thinking about making an Asteroids clone or

Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-07 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 2 September 2020 at 13:31:25 UTC, Adam D. Ruppe wrote: I could write that in a few hours. I went ahead and did it: https://dwidder.arsdnet.net/ might move later but eh the basics work i think.

Re: DConf Online 2020 Submission Deadline Extended

2020-09-05 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 31 August 2020 at 08:36:09 UTC, Mike Parker wrote: So send me your <= 5-minute videos describing your talks, folks! There's basically zero chance of me doing this part specifically. But on the other hand, between my self-loathing and procrastination, I probably won't record a talk

Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-04 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 2 September 2020 at 18:42:25 UTC, starcanopy wrote: But if you do create an ad-hoc service, I'd very much use it if you didn't necessitate registration with an email. So I think some kind of user account is useful and I figure I'll require them... but it will be just a random

Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-04 Thread Adam D. Ruppe via Digitalmars-d-announce
On Friday, 4 September 2020 at 17:47:39 UTC, James Lu wrote: And there's a Facebook? Seriously? A random user set it up and tries to push it but there's not much activity. And Slack? That's more used by like dconf coordinators. The places new people come on for chat is just the irc and

Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-02 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 2 September 2020 at 07:38:01 UTC, JN wrote: One thing I always feel this forum is missing is a section for work in progress projects, even if they never end up anywhere. Yeah, I often want a place to just gab. I kinda do in my blog, but that's more often something that is more

Re: tetris in D in webassembly

2020-08-11 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 11 August 2020 at 04:10:10 UTC, starcanopy wrote: This is really cool. This idea, especially, titillates me: That's actually easy enough to do I just went ahead and made it. so behold: http://webassembly.arsdnet.net/ and the source is pushed up to github, with just a little bit

Re: tetris in D in webassembly

2020-08-11 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 11 August 2020 at 13:22:02 UTC, jmh530 wrote: The blog post says it is space bar. Tripped me up too. Yeah, I learned yesterday that there's a whole other PC tetris world I had no clue about. I only ever played the Nintendo/ELORG version on the NES. On that, dpad is left, down,

Re: tetris in D in webassembly

2020-08-10 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 10 August 2020 at 21:30:53 UTC, matheus wrote: By the way you should post on reddit (/r/programming) if you haven't already. I don't really do reddit. I sometimes troll in the comments but it isn't a site I care for. That said if you or someone else wanted to and post the link,

Re: tetris in D in webassembly

2020-08-10 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 10 August 2020 at 16:24:02 UTC, Steven Schveighoffer wrote: Bug report: the score doesn't increase for me when I complete a line ;) The reason for that is actually explained in the article; has to do with webassembly not blocking on eventLoop and the program was written with the

tetris in D in webassembly

2020-08-10 Thread Adam D. Ruppe via Digitalmars-d-announce
http://webassembly.arsdnet.net/ tetris.d source here: http://dpldocs.info/this-week-in-d/Blog.Posted_2020_08_03.html#tetris-in-d web assembly source and explanation here: http://dpldocs.info/this-week-in-d/Blog.Posted_2020_08_10.html Short version: BARE MINIMUM druntime port to webassembly

  1   2   3   4   5   6   7   8   >