Re: Five Projects Selected for SAOC 2019

2019-08-26 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-08-26 05:55, Andrej Mitrovic wrote: I'm guessing this means we might even be able to use multiple versions of Phobos one day. However before we do that, we will really need to fix the use of globals in Phobos. I don't think that's necessary. All symbols will have the version be part

Re: Build your dub packages with Github Actions

2019-09-07 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-09-07 00:02, Andre Pany wrote: Hi, Just a small info, building your D application using Github Actions just works out of the box thanks to the install.sh script! This configuration will install a "dub build" pull request voter:

Mecca available on macOS

2019-08-07 Thread Jacob Carlborg via Digitalmars-d-announce
I would like to announce that I've ported Mecca [1] to macOS. It was merged in May but I never bothered to announce it until now. Everything except the file watcher has been ported and is working. Unfortunately the unit tests fail in Travis CI, but they pass locally and in Circle CI. Something

Re: Mecca available on macOS

2019-08-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-08-07 19:45, Ron Tarrant wrote: I'm not familiar with Mecca. What is a Container/reactor library? I guess it's a reactor library. I see it as a library providing fiber based non-blocking IO. It also provides containers, logging, reflection, serialization and a bunch of other things

Re: dud: A dub replacement

2019-11-11 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-11-11 14:44, Robert Schadek wrote: So dub has some problems, and personally I find its code base very hard to get into. At Symmetry we are a very heavy user of dub, resulting in many wasted hours. So I started to write dud [1]. I kept some boring/nice parts from dub, but most code

Re: Release D 2.089.0

2019-11-07 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 7 November 2019 at 10:25:46 UTC, Ron Tarrant wrote: I follow the steps outlined here: https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows And one of those steps (Step #5) says to copy the gtkd libs to the compiler's directory tree. Is that what you mean by "You

Re: Blog series to teach and show off D's metaprogramming by creating a JSON serialiser

2019-11-01 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 31 October 2019 at 00:05:06 UTC, SealabJaster wrote: https://bradley.chatha.dev/Home/Blog?post=JsonSerialiser1 FYI, string is a built-in type. Regarding exercise 2. I would be very careful with deserializing a single character from JSON. First, because JSON doesn't support

Re: dud: A dub replacement

2019-11-18 Thread Jacob Carlborg via Digitalmars-d-announce
On Sunday, 17 November 2019 at 19:10:05 UTC, Sebastiaan Koppe wrote: SDL all the way please. Perhaps this ship has already sail. But YAML would have been a better choice. It's a superset of JSON. All the existing JSON description files would have worked as is. -- /Jacob Carlborg

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 11:49:20 UTC, Daniel Kozak wrote: Generally no, because Apline use musl libc instead of glibc, so there are some issues with that The correct way is to use static linking and putting only the binary in a Docker image, i.e. "from scratch" [1] ;). But using

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-06 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-11-06 02:02, sarn wrote: And the neat way to do that is with a multi-stage build: one Dockerfile, with an Alpine container building the binary, then copying to a FROM scratch container I've used the "smith" tool as well [1]. It has some additonal help with dynamically linked code.

Re: Blog series to teach and show off D's metaprogramming by creating a JSON serialiser

2019-12-03 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 12 November 2019 at 09:15:28 UTC, SealabJaster wrote: And if you do allow things such as letting classes have a 'deserialise' member function which can be overloaded, you still need to create or be given an instance of the class beforehand, which brings things back around to the

Re: dud: A dub replacement

2019-11-20 Thread Jacob Carlborg via Digitalmars-d-announce
On Wednesday, 20 November 2019 at 11:40:19 UTC, Robert Schadek wrote: Here is disagree, to a degree I consider comments a code smell. If I have to write them, I failed to convey the information needed to understand the code in the code. You think this is a code smell:

Re: Proposal for porting D runtime to WebAssembly

2019-11-24 Thread Jacob Carlborg via Digitalmars-d-announce
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 What will happen to code that uses TLS? Will it be promoted to a

Re: Blog series to teach and show off D's metaprogramming by creating a JSON serialiser

2019-11-01 Thread Jacob Carlborg via Digitalmars-d-announce
On Friday, 1 November 2019 at 11:29:11 UTC, Ethan wrote: string is immutable(char)[], as we all know. Syntactic sugar, not exactly a built in type but treating it like one is often valuable. It's an alias, but what it's aliased to is a built-in type. -- /Jacob Carlborg

Re: DIP 1027---String Interpolation---Format Assessment

2020-02-28 Thread Jacob Carlborg via Digitalmars-d-announce
On Friday, 28 February 2020 at 03:10:48 UTC, Walter Bright wrote: I don't know Swift, but this looks like the "generate strings and concatenate them" approach. No, it basically lowers to bunch of method calls. Here's an example of how it could look like with D syntax: auto a = 3; auto b =

Re: LDC 1.20.0

2020-02-15 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-02-15 07:17, zoujiaqing wrote: Thanks LDC team! Thanks Jacob for iOS/tvOS/watchOS on AArch64! Thanks :) -- /Jacob Carlborg

Re: Hunt Framework 3.0.0 Released, Web Framework for DLang!

2020-05-11 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-05-09 09:02, zoujiaqing wrote: ( hunt library is currently the best performing network io in D languages.) Would be interesting to see how Hunt and Mecca [1] compare. Mecca is quite a basic library, compared to Hunt. It doesn't support anything more high level than TCP sockets.

Re: Blog Post #0105: D-specific Stuff for GUI Programming

2020-03-23 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 23 March 2020 at 10:41:43 UTC, Jacob Carlborg wrote: class DSingleton { immutable DSingleton instance = new DSingleton; } Should of course be `static`: class DSingleton { static immutable DSingleton instance = new DSingleton; } -- /Jacob Carlborg

Re: Blog Post #0105: D-specific Stuff for GUI Programming

2020-03-23 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 23 March 2020 at 10:26:33 UTC, Jacob Carlborg wrote: If it's enough with CTFE compatible code in the constructor, the following is a much simpler version: class DSingleton { private __gshared DSingleton instance = new DSingleton; DSingleton get() { return

Re: Blog Post #0105: D-specific Stuff for GUI Programming

2020-03-23 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 23 March 2020 at 10:02:48 UTC, Ron Tarrant wrote: Today starts a new series I'm calling Snippets and it's about various D-specific stuff that may come in handy when building a GUI. You can find it right here: https://gtkdcoding.com/2020/03/23/0105-dlang-ui-snippets-i.html If it's

Re: Symmetry Investments and the D Language Foundation are Hiring

2020-09-01 Thread Jacob Carlborg via Digitalmars-d-announce
On Sunday, 30 August 2020 at 14:13:36 UTC, Mike Parker wrote: Looking for a full-time or part-time gig? Not only is Symmetry Investments hiring D programmers, they are also generously funding two positions for ecosystem work under the D Language Foundation. And they've put up a bounty for a

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

2020-09-03 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 3 September 2020 at 08:40:32 UTC, aberba wrote: The slack I have no ideas how people get in. I know there's a number of members in there too. Unfortunately you need to be invited. Anyone can do it, if you're interested. We just need an email address. -- /Jacob Carlborg

Re: Visual D 1.0.1 released

2020-08-26 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 25 August 2020 at 20:37:38 UTC, Per Nordlöw wrote: I'm dying to get a semantic engine that supports code navigation to (and completion of) overloaded functions at their call site including UFCS-calls. DCD doesn't support these two features. I have interest in a LSP server based

Re: Beta 2.094.0

2020-09-19 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-09-18 23:14, John Colvin wrote: I know. But it should be. dub.selections.json wasn't available in the initial version. I don't remember if branches were deprecated before or after dub.selections.json was added. -- /Jacob Carlborg

Re: Beta 2.094.0

2020-09-16 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-09-16 19:20, mw wrote: Why it's deprecated? can we revive it? It was deprecated because it's a bad idea to not lock versions. Using `~master` would fetch the latest code from the "master" branch when compiling. You never know which version you get. You don't get reproducible

Re: Beta 2.094.0

2020-09-18 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-09-17 12:10, John Colvin wrote: I personally think it's not so bad as long as the commit gets written to the dub.selections.json It doesn't. -- /Jacob Carlborg

Re: Visual D 1.0.0 released

2020-07-09 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 9 July 2020 at 08:40:24 UTC, Petar Kirov [ZombineDev] wrote: What I really wish is we had a single shared codebase for dlang editor support, that could be shared among editor extension writers, instead of having many community members working on competing solutions. That would

Re: Documentation repository for Hunt Framework !

2020-07-09 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 30 June 2020 at 15:40:14 UTC, zoujiaqing wrote: I'm glad we've released the first set of Hunt Framework today. Make it easier for you to use Hunt Framework. Hope more people can work with us to improve the content of the document. https://github.com/huntlabs/hunt-framework-docs

Re: Decimal string to floating point conversion with correct half-to-even rounding

2020-07-06 Thread Jacob Carlborg via Digitalmars-d-announce
On Sunday, 5 July 2020 at 14:29:22 UTC, IGotD- wrote: It's a resource question again. I'm all for that for example D should have a native alternative to curl including SSL/TLS support. If someone is willing to invest the man hours into such project, I'm all for it. Nim went that way having

Re: Visual D 1.0.0 released

2020-07-10 Thread Jacob Carlborg via Digitalmars-d-announce
On Friday, 10 July 2020 at 06:46:53 UTC, Rainer Schuetze wrote: There is an extension using DLS as an LSP: https://marketplace.visualstudio.com/items?itemName=LaurentTreguier.visual-studio-dlang It's been some time, but when I tried to use that along side Visual D, it caused problems because

Re: Visual D 1.0.0 released

2020-07-10 Thread Jacob Carlborg via Digitalmars-d-announce
On Friday, 10 July 2020 at 05:07:38 UTC, Petar Kirov [ZombineDev] wrote: So, having had to edit both VS *.*proj files and Makefiles manually, I'd say that Makefiles are orders of magnitude more approachable and easier for me. MSBuild is just a giant PITA in my experience. Though I agree that

Re: Documentation repository for Hunt Framework !

2020-07-10 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 9 July 2020 at 16:37:16 UTC, zoujiaqing wrote: I want to improve the documentation for the application layer first. Let more people use the framework quickly. Later, we will improve the underlying documents when the underlying library API is stable. Fair enough. -- /Jacob

Re: Visual D 1.0.0 released

2020-07-10 Thread Jacob Carlborg via Digitalmars-d-announce
On Friday, 10 July 2020 at 00:39:49 UTC, Manu wrote: Even DMD itself is too large a D project for Code-D to work well with. I have not used Code-D, but I am using TextMate with DCD integrated. It has no problem with the DMD project. But it only supports go-to-definition, autocomplete and

Re: Release D 2.093.0

2020-07-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-07-12 11:04, Martin Nowak wrote: Glad to announce D 2.093.0, ♥ to the 54 contributors. I just tried to use this release in a GitHub Action using the "dlang-community/setup-dlang@v1" action. I got an error about the signature is not trusted. I tried 2.092.0, that works fine. Here's

Re: Preparing for Google Summer of Code 2021

2020-11-24 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 23 November 2020 at 13:34:14 UTC, Petar Kirov [ZombineDev] wrote: Thanks, I've just added the gsoc2020 label for these issues. I will ping someone to give you permissions for the repo ;) Shouldn't it be gsoc2021? We're already past GSoC 2020 ;) -- /Jacob Carlborg

DLP - D Language Processing 0.3.0 - infer attributes

2020-12-18 Thread Jacob Carlborg via Digitalmars-d-announce
I would like to announce a new release of DLP, 0.3.0. For those not familiar with DLP, it's a tool collecting commands/tasks related to processing the D programming language. It uses the DMD frontend as a library to process D code. The major new feature in this release a new command that has

Re: DLP - D Language Processing 0.3.0 - infer attributes

2020-12-19 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-12-19 00:26, Dave P. wrote: Looks very useful. Something strange I noticed though, it seems to be doing the analysis in 32 bits? I had some static assertions go off due to this which halted the program. Wow, I haven't noticed that. That's not indented. I've created an issue [1] and

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

2020-12-15 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-12-14 22:59, tchaloupka wrote: Hi, I was missing some commonly usable HTTP parser on code.dlang.org and after some research and work I've published httparsed[1]. This is awesome. I wanted to use picohttpparser myself and used the C version. But if you already have created a HTTP

Re: requests 2.0.0 release

2020-10-30 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 29 October 2020 at 06:42:54 UTC, ikod wrote: Hi, requests 2.0.0 released with single change - support for vibe-d moved to separate subpackage. The goal of this update is to prevent dub from downloading vibe-d packages for optional subConfiguration. Another approach is to

Re: requests 2.0.0 release

2020-11-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2020-11-01 11:13, Sönke Ludwig wrote: ddb marks the vibe-d dependency as optional, so it *should* not trigger a download by itself. It does not trigger a download. The downside is that user of the library needs to manually add vibe.d as a dependency. -- /Jacob Carlborg

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

2021-01-06 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-01-02 22:21, H. S. Teoh wrote: Nope. Reverse-engineering is a thing. There's even tools out there to automate this stuff. Or you can try to prevent reverse engineering. This is both an interesting and fun talk [1]. [1] https://www.youtube.com/watch?v=HlUe0TUHOIc -- /Jacob

Re: Printing shortest decimal form of floating point number with Mir

2021-01-06 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-01-06 03:30, Walter Bright wrote: The baseline Linux target does not have SSE. Other compilers solve this by having a flag to specify the minimum target CPU. -- /Jacob Carlborg

Re: Discussion Thread: DIP 1039--Static Arrays with Inferred Length--Community Review Round 1

2021-01-06 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-01-06 10:21, Mike Parker wrote: This is the discussion thread for the first round of Community Review of DIP 1039, "Static Arrays with Inferred Length": https://github.com/dlang/DIPs/blob/c06ce7f144b3dabf363d1896ddcd31a2a6b7c969/DIPs/DIP1039.md There's `staticArray` to solve this

Re: Printing shortest decimal form of floating point number with Mir

2021-01-09 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-01-06 03:30, Walter Bright wrote: The baseline Linux target does not have SSE. What about this changelog entry: https://dlang.org/changelog/2.087.0.html#xmm-linux-changelog ? -- /Jacob Carlborg

Re: Article: Why I use the D programming language for scripting

2021-02-01 Thread Jacob Carlborg via Digitalmars-d-announce
On Sunday, 31 January 2021 at 20:36:43 UTC, aberba wrote: It's finally out! https://opensource.com/article/21/1/d-scripting FYI, the code will compile faster if you use `dmd -run` instead of `rdmd`. If you have multiple files that need to be compiled you can use `dmd -i -run`. -- /Jacob

[Semi-OT] Cross-Platform GitHub Action

2021-06-08 Thread Jacob Carlborg via Digitalmars-d-announce
# Cross-Platform GitHub Action I would like to announce the first version of a project I've been working on for a while. It's not anything D specific or implemented in D, but it can be used with D projects. This project provides a GitHub action for running GitHub Action workflows on multiple

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

2021-06-08 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 8 June 2021 at 19:40:01 UTC, kinke wrote: Thx for sharing! Interesting; I've recently worked on something similar, but on Linux hosts and using a kvm/qemu/libvirt stack for running CI jobs in Windows VMs. Yeah, this is running on macOS instead because the Linux and the Windows

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

2021-06-09 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 8 June 2021 at 20:39:45 UTC, Steven Schveighoffer wrote: I might have a need for it. When I moved mysql-native to github actions, I could no longer run mysql integration tests on MacOS or Windows, since there is no docker support for a mysql instance on those platforms. I can

Re: (Oh My) Gentool 0.3.0 released

2021-05-07 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-05-05 13:54, user1234 wrote: Thanks for the explanations. BTW I had the same question for LDC backend being c++, I guess the answer would be similar. If I understand correctly, the Zig compiler is implemented partially in Zig. It use the LLVM C API and some wrappers C around the C++

Re: (Oh My) Gentool 0.3.0 released

2021-05-07 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-05-05 12:01, user1234 wrote: Is it possible to use libclang and more generally LLVM c++ api [directly in D](https://dlang.org/spec/cpp_interface.html) or the Cpp interface is too limited ? Was this an option, have you tried ? Yes, it's possible to use libclang. DStep [1] is using

Re: Diva - D Language Interface for Versioned Applications

2021-07-11 Thread Jacob Carlborg via Digitalmars-d-announce
On Saturday, 10 July 2021 at 12:30:43 UTC, Bastiaan Veelo wrote: Thanks for clarifying the differences. Some other differences: * DVM is cross-platform. Diva seems to only run on Ubuntu. * DVM is implemented in D (with a tiny shell script wrapper). Diva depends on Python * DVM does not use

Re: utiliD: A library with absolutely no dependencies for bare-metal programming and bootstrapping other D libraries

2021-02-26 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-02-24 17:32, Imperatorn wrote: What happened to utiliD? Broken link to gh I think Mike gave up on D. -- /Jacob Carlborg

Cross-compiler targeting macOS

2021-04-07 Thread Jacob Carlborg via Digitalmars-d-announce
# Docker LDC Darwin I would like to announce a new project I'm working on: docker-ldc-darwin [1]. The project consists of a Dockerfile for building a Docker image which has all the necessary tools to cross-compile D applications targeting macOS x86-64. ## Features * Uses Apple's ld64

Re: Cross-compiler targeting macOS

2021-04-09 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-04-08 18:36, H. S. Teoh wrote: Thanks for this, it is very helpful. You're welcome. I'm glad that it's useful to someone. I just created a tag [1] (no changes yet), if I would like to make some changes in the future. [1]

Re: Cross-compiler targeting macOS

2021-04-11 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-04-10 15:50, kinke wrote: Thanks Jacob, I'm sure this was quite a bit of work, and opening up proprietary SDKs for non-native systems is always welcome. Thumbs up! Thanks. -- /Jacob Carlborg

Re: Windows Bindings v1.1

2021-02-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 2021-02-20 15:03, Rumbu wrote: - new attributes (currently ignored): RetVal, NullNullTerminated, NotNullTerminated Regarding the ignored attributes. You could always output these as UDAs. It would not add any semantic meaning, but could serve as documentation. In theory, it would be

Re: OpenBSD DMD package

2021-10-14 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 12 October 2021 at 12:42:09 UTC, Brian wrote: I don't think any of the free ones support OpenBSD yet :) There is SourceHut, which does support OpenBSD CI, but I don't think it is free to use. You can use my GitHub action:

Re: OpenBSD DMD package

2021-10-14 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 14 October 2021 at 16:14:17 UTC, Brian wrote: Awesome! I will spend some time soon figuring it out. Here are two real world examples: https://github.com/jacob-carlborg/lime/blob/master/.github/workflows/ci.yml

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

2021-11-17 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 16 November 2021 at 14:38:48 UTC, Sebastiaan Koppe wrote: I was reading https://github.com/marketplace/actions/cross-platform-action#under-the-hood and have to say I am impressed. Looks like a very well done library. Thanks. Yeah, it turned out to be quite complex to support

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

2021-11-17 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 16 November 2021 at 14:04:12 UTC, Imperatorn wrote: Oh, nice to see support for FreeBSD. I just added a version for it in druntime 4 days ago. Now maybe we can test it lol I can add older versions of FreeBSD (currently 12.2 and 13 are supported) if there's a need for that.

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

2021-11-16 Thread Jacob Carlborg via Digitalmars-d-announce
# 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), [0.3.0](https://github.com/cross-platform-actions/action/releases/tag/v0.3.0). For those not familiar with this project,

<    2   3   4   5   6   7