everything. Multiple platforms, multiple hypervisors, multiple
hosts platforms etc.
--
/Jacob Carlborg
that.
/Jacob Carlborg
# 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,
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
https://github.com/jacob-carlborg/dlp/blob/master/.github/workflows
s-platform-action.
--
/Jacob Carlborg
symlinks. When invoking the compiler it's the
actual executable that's invoked directly
* DVM provides a built-in command to install itself and do any
setup
--
/Jacob Carlborg
also several GitHub Actions that will setup MySQL:
https://github.com/marketplace?type=actions&query=mysql
--
/Jacob Carlborg
;ve already built the
OpenBSD image for ARM64.
--
/Jacob Carlborg
h
whoami
env | sort
```
I've been using this action for one of my own projects
([DLP](https://github.com/jacob-carlborg/dlp/runs/2759807903))
for now close to a week and it works fine. It's mostly FreeBSD
that has been tested.
If you're interested in how the saus
++ API where
the C API is not sufficient.
--
/Jacob Carlborg
using that and it fully
written in D. Although DStep cannot create bindings for C++ yet so I
cannot guarantee that using only libclang will work for C++ code.
[1] https://github.com/jacob-carlborg/dstep
--
/Jacob Carlborg
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
ldc-darwin/tree/v0.0.1
--
/Jacob Carlborg
Hello World
```
For more information and examples, see the readme [1].
[1] https://github.com/d-cross-compiler/docker-ldc-darwin
--
/Jacob Carlborg
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
possible to create a separate tool that will
perform some semantic checks on these UDAs.
--
/Jacob Carlborg
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`.
--
/
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
` to solve this issue [1].
[1] https://dlang.org/phobos/std_array.html#.staticArray
--
/Jacob Carlborg
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
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
--
/
issue
[1] and I'll take a look at it.
[1] https://github.com/jacob-carlborg/dlp/issues/7
--
/Jacob Carlborg
the full change log, see [1].
[1] https://github.com/jacob-carlborg/dlp/releases/tag/v0.3.0
--
/Jacob Carlborg
HTTP parser with the same
properties in D, that's even better.
--
/Jacob Carlborg
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
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
--
/Jacob Carlborg
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
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
get
reproducible builds.
--
/Jacob Carlborg
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
s vs SHA-1 hashing really the most pressing
issue with Dub?
--
/Jacob Carlborg
ther instead of duplicating the work.
Although I've given up on the DMD upstream project and instead,
I've forked it [2] to be able to do the necessary changes.
[1]
https://dlang.org/blog/2020/08/23/symmetry-autumn-of-code-2020-projects-and-participants
[2] https://github.com/jaco
gpg: WARNING: This key is not certified with a trusted signature!
16
gpg: There is no indication that the signature belongs to the
owner.
17
Primary key fingerprint: F46A 10D0 AB44 C3D1 5DD6 5797 BCDD 73FF C3EB 6146
18
Subkey fingerprint: 3AAF 1A18 E61F 6FAA 3B71 93E4 DB8C 5218 B932 9CF8
--
/Jacob Carlborg
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
code reliably ;)
Yeah, VisualD has a huge advantage since it's now using the DMD
frontend for these things. For example, DCD does not support
UFCS, which is really annoying.
--
/Jacob Carlborg
cause both are trying to be a
language service for the same language.
I was more hoping for the engine in VisualD to be the new DCD or
DLS, since it's already using the DMD frontend for some things.
Then it can be used by other editors and IDEs, hint hint, wink
wink ;)
--
/Jacob Carlborg
that I don't find Makefiles
enjoyable either :D, but at least I can more easily track
changes to them in VCS.
FYI, Visual Studio has native support for CMake projects these
days.
--
/Jacob Carlborg
ework-docs
Really nice to see some documentation. I would love to see some
documentation on the internals, especially related to the event
loop, concurrency and similar.
--
/Jacob Carlborg
be really nice. Doesn't Visual Studio (not VSCode)
supports LSP these days?
--
/Jacob Carlborg
ich is a whole different beast, and
probably a bad idea [2].
[1]
https://forum.dlang.org/post/prsrbzoanxwytrtpy...@forum.dlang.org
[2]
https://forum.dlang.org/post/hsmjcgxzujgwsiegi...@forum.dlang.org
--
/Jacob Carlborg
http://github.com/weka-io/mecca
--
/Jacob Carlborg
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
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()
{
r
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 instance;
}
}
--
/Jacob Carlborg
re's nothing here that says that this needs to use the GC to
allocate the final string. "StringInterpolation" could contain
something like OutBuffer from DMD or, if the arguments were
passed as template arguments, it could allocate on the stack.
--
/Jacob Carlborg
On 2020-02-15 07:17, zoujiaqing wrote:
Thanks LDC team!
Thanks Jacob for iOS/tvOS/watchOS on AArch64!
Thanks :)
--
/Jacob Carlborg
en there's the problem with non-mutable fields and instances as
well. But you can just cast away those when deserializing.
There's also the issue with circular references [6]. But that's
pretty easy to solve by storing all serialized instances to see
if they have already been ser
global
variable or will it fail to compile?
--
/Jacob Carlborg
/phobos/std_array.html ?
--
/Jacob Carlborg
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 to contribute
there would be no one to merge the pull requests :(.
--
/Jacob Carlborg
"You
really shouldn't be doing the
former."?
And I also edit sc.ini.
I recommend that you use Dub instead and add gtk-d [1] as a
dependency.
[1] https://code.dlang.org/packages/gtk-d
--
/Jacob Carlborg
support. So, thanks BPF Korea :)
Yeah, it helps. Although it still possible to statically link with
glibc, although you might get some warnings.
[1] https://github.com/oracle/smith
--
/Jacob Carlborg
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
Alpin
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
type of '😀' is not `char`,
it's `dchar`. The deserialization would need to throw an
exception in this case, because '😀' won't fit in a `char`. It's
much simpler to just not allow this use case.
--
/Jacob Carlborg
lob/master/.github/workflows/blank.yml
Oh, cool. I didn't know about GitHub actions. Of course, there's no D
template among the other languages [1] :(
[1] https://github.com/actions/starter-workflows/tree/master/ci
--
/Jacob Carlborg
the compiler was
built.
—
/Jacob Carlborg
ersion be
part of the mangled name.
--
/Jacob Carlborg
her things that are usually found in a
standard library.
--
/Jacob Carlborg
g kqueue as well. I think
libdispatch is available on *BSD as well, but might not be installed by
default.
[1] https://github.com/weka-io/mecca
--
/Jacob Carlborg
tMate uses this regular expression implementation [1].
[1] https://github.com/textmate/Onigmo
--
/Jacob Carlborg
could be used in bare-metal
programming, -betterC builds, or as a fundamental utility library for
implementing DMD, druntime, and phobos themselves.
Might be interesting to write a tool that enforces the rules. It would
use DMD as a library.
--
/Jacob Carlborg
27;ve seen when it comes to create bindings.
--
/Jacob Carlborg
On 2019-04-23 14:10, Mike Franklin wrote:
Nice work, Jacob! Very cool!
Thanks :)
--
/Jacob Carlborg
On 2019-04-21 19:59, Jacob Carlborg wrote:
On 2019-04-20 16:16, Martin Nowak wrote:
Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
contributors.
I just noticed I got a test failure [1] in one of my projects using this
version. I haven't investigated yet. Strangel
es.
Translating function pointers has probably been supported since the
first release. There are tests for this. If there's something that is
not working, please file a bug at [1]. Ideally with a minimal test case
with the C code and the expected D code.
[1] https://github.com/jacob-carlborg/dstep/issues
--
/Jacob Carlborg
ry is statically linked with libclang and doesn't have any
additional dependencies besides the system libraries. The Windwos
binaries require to install libclang.
[1] https://github.com/jacob-carlborg/dstep/releases/tag/v1.0.0
--
/Jacob Carlborg
ravis-ci.org/jacob-carlborg/dstep/jobs/522548540
--
/Jacob Carlborg
arious projects.
--
/Jacob Carlborg
ion / CPU. (But Direct2D is
GPU-accelerated and already crazy fast)
"Whenever possible, Quartz 2D leverages the power of the graphics
hardware." [1].
[1]
https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_overview/dq_overview.html
--
/Jacob Carlborg
On 2019-04-12 08:45, DanielG wrote:
These aren't written in D, but they are *for* D (or any other non-C++
language in need of its own canonical, language-native GUI). They export
a C API for maximum ease of use.
May I ask why?
--
/Jacob Carlborg
On 2019-04-02 13:49, Bastiaan Veelo wrote:
So thank you.
You're welcome :)
--
/Jacob Carlborg
On 2019-04-01 12:31, Mihails wrote:
Nice, I must admit I have had my mind set about DVM as something that
has existed for years and wasn't quite the right thing. Had no idea you
kept improving it lately.
Yeah, I thought it was time to fix one or two bugs.
--
/Jacob Carlborg
rce/dc/platform/posix.d#L78-L81
[2]
https://github.com/mihails-strasuns/dc/blob/f314916b04879604e3f8629534a3cf2b1bd4d92c/source/dc/utils/path.d#L46
[3] https://dlang.org/phobos/std_file.html#.thisExePath
--
/Jacob Carlborg
funny that you decided to release this exactly the same day
as I planned to release a new version of DVM [1] :)
[1] https://forum.dlang.org/post/q7r3i5$2cdh$1...@digitalmars.com
--
/Jacob Carlborg
the latest compiler, that is using the `-l` flag
* Issue 44: Make dub executable
* Issue 42: Doesn't compile with recent compilers (e.g. dmd-2.074.1)
[1] https://github.com/jacob-carlborg/dvm/releases/tag/v0.5.0
--
/Jacob Carlborg
version in the form of
"dmd-" also located in "~/.dvm/bin", if you want to explicitly
invoke a given version without switching the active version.
--
/Jacob Carlborg
providing a good starting point to
where to add attributes. I think this is still true for functions
without a body.
--
/Jacob Carlborg
d the given path as an
import path
* Fixed issue 1: No error if no input files are given
[1] https://github.com/jacob-carlborg/dlp/releases/tag/v0.1.0
--
/Jacob Carlborg
On 2019-03-18 15:49, Andrea Fontana wrote:
Is v2.0xx compiled with v2.0xx-1 or with v2.0xx itself?
With v2.0xx-1, as far as I understand.
--
/Jacob Carlborg
On 2019-03-17 21:09, Per Nordlöw wrote:
I thought that already is the case...
No, the official binaries are built with DMD as the host compiler.
--
/Jacob Carlborg
"/home/per/.cargo/bin/rustc")
Zig:
Speedups:
- D to gcc-8: 1.50
- D to g++-8: 3.88
- D to Clang: 3.90
- D to Clang++: 3.83
- D to Go: 4.88
- D to Rust: 50.71
It would be interesting to measure D's speed with DMD compiled with LDC
as the host D compiler.
--
/Jacob Carlborg
of.
[1] https://blogs.oracle.com/developers/the-microcontainer-manifesto
[2] https://github.com/oracle/smith
--
/Jacob Carlborg
On 2019-03-07 16:45, Atila Neves wrote:
C++ is hard:
https://atilaoncode.blog/2019/03/07/the-joys-of-translating-cs-stdfunction-to-d/
Using ".mangleof" and "pragma(mangle)" on the same symbol looks like
something that could easily break.
--
/Jacob Carlborg
anyone that wants to start using the new
Objective-C features to wait until the point release.
--
/Jacob Carlborg
actual problem and could surface on other platforms as well.
--
/Jacob Carlborg
On 2019-02-26 12:07, Walter Bright wrote:
It hasn't been approved yet, and please start another thread if you want
to discuss it.
You have approved the pull request.
--
/Jacob Carlborg
On 2019-02-25 01:38, Walter Bright wrote:
D's const has teeth. Nothing can be modified through T.
What about the __mutable proposal [1]?
[1] https://github.com/dlang/dmd/pull/8315
--
/Jacob Carlborg
On 2019-02-25 21:23, Andrei Alexandrescu wrote:
Jacob, are there amends you need to make to the DIP?
No, I'm talking about the process in general.
--
/Jacob Carlborg
On 2019-02-25 20:24, Mike Parker wrote:
From the process document:
“the DIP Manager or the Language Maintainers may allow for exceptions
which waive requirements or responsibilities at their discretion.”
Having it documented doesn't make it less flawed.
--
/Jacob Carlborg
n Razvan's implementation. When it reached a
state with which he was satisfied, he gave the green light for acceptance.
I think the process is flawed when not everyone plays by the same rules.
--
/Jacob Carlborg
On 2019-02-25 17:31, Andrei Alexandrescu wrote:
The proposers (Razvan and myself) and Walter (the reviewer) do not know how
to make DIP 1018 better.
That shouldn't justify accepting a DIP that might contain problems. But
of course, if you don't think there are any problems.
Why not using property syntax, i.e. `val.height = 10`?
val.visit!(
(int i) { assert(i == 10); }
(string s) { assert(false); }
);
How does this handle the above case when there are two `int`? How do I
know if it's the "width" or "height" that has been set?
--
/Jacob Carlborg
/github.com/dlang/dmd/blob/master/test/unit/self_test.d
[3] https://github.com/dlang/dmd/blob/master/test/unit/deinitialization.d
--
/Jacob Carlborg
again this year and will remain
available until March 17, 24:00 AOE. This time around, we have to factor
in a 20% VAT for all registrations, so the actual price will be $408.
Has a hotel for post-conference gathering* been picked?
* We all know this actually means Beer Conf :D
--
/Jacob Carlborg
it links the application and compare that with Dub.
Or, you can try compiling as COFF instead of OMF which will not use
Optlink. Add the flag "--arch=x86mscoff" when invoking Dub.
--
/Jacob Carlborg
It will lock down the
version of all dependencies, direct and indirect dependencies.
For applications the dub.selections.json should be under version
control, while for libraries it should be ignored.
--
/Jacob Carlborg
On 2019-01-19 23:13, Ron Tarrant wrote:
Wow. That's a lot to think about. Thanks, Jacob. Looks like I've got my
weekend reading all lined up. :)
:)
--
/Jacob Carlborg
1 - 100 of 1602 matches
Mail list logo