Despite of the mini drama last year I've continued developping
dexed.
The changelog since last announce here is a bit long, check
https://gitlab.com/basile.b/dexed/-/releases
for more information and get the releases (linux only).
Harbored-Mod is a lesser known documentation generator for the D
programming language.
Since the last release several old bugs have been fixed.
The location[1] has changed too.
- added support for anchors via anchor.js
- enum member attributes are displayed (they didn't exist when
the soft
On Friday, 24 April 2020 at 13:45:22 UTC, Phrozen wrote:
I'm too new to DLang and I have a lot to learn. Probably that's
why I have a lot of difficulties. Has anyone tried using a GUI
library to the latest DMD 2.090 or DMD 2.091? I plan to use
this language for a specific Thermal calculator
On Sunday, 19 April 2020 at 20:25:23 UTC, Basile B. wrote:
On Sunday, 19 April 2020 at 17:57:21 UTC, David Zaragoza wrote:
[...]
`permutation()` returns a lazy range (i.e an iterator). To turn
a permutation into a concrete data type use .array on each one.
---
void test(int[] array){}
On Sunday, 19 April 2020 at 17:57:21 UTC, David Zaragoza wrote:
Hi
When I try to build the following:
import std.algorithm.iteration;
void test(int[] array);
void main()
{
int[] a = [1,1,2,2,3,3];
foreach (p; a.permutations)
{
test(p);
}
}
I
I 've started experimenting Pegged action. Quickly i got blocked
by this problem. The start action works where I use the rule but
not directly in the rule. Test program:
gdb_commander.d:
---
/+dub.sdl:
dependency "pegged" version="~>0.4.4"
versions "dub_run"
+/
module gdb_commander;
import
On Sunday, 19 April 2020 at 11:33:15 UTC, Andre Pany wrote:
On Sunday, 19 April 2020 at 10:53:09 UTC, Basile B. wrote:
On Sunday, 19 April 2020 at 10:48:04 UTC, Basile B. wrote:
This should work if you pass the static library files to the
linker. It is exactly its job to select what's used
On Sunday, 19 April 2020 at 10:48:04 UTC, Basile B. wrote:
This should work if you pass the static library files to the
linker. It is exactly its job to select what's used from the
archive. So you would have to pass your stuff and optionally
phobos2 as a static library (but this would also
On Sunday, 19 April 2020 at 07:50:13 UTC, Andre Pany wrote:
Hi,
My understanding is, a lib file is a collection of multiple obj
files.
This is exact.
From a delphi app I want to call D coding without using a dll.
Delphi does not know the concept of lib files but can link obj
files.
On Thursday, 16 April 2020 at 19:56:21 UTC, Basile B. wrote:
On Tuesday, 14 April 2020 at 20:24:05 UTC, jmh530 wrote:
[...]
`approxEqual` cant work with ranges. If you look at the
signature there is a use of the constructor syntax, e.g const
`T maxRelDiff = T(0x1p-20f)` so when `T` is not a
On Tuesday, 14 April 2020 at 20:24:05 UTC, jmh530 wrote:
In the code below, I multiply some slice by 5 and then check
whether it equals another slice. This fails for mir's
approxEqual because the two are not the same types (yes, I know
that isClose in std.math works). I was trying to convert
On Tuesday, 14 April 2020 at 17:51:58 UTC, Robert M. Münch wrote:
I use a C libary and created D imports with dstep. It
translates the C structs to D structs.
When I now use them, everything compiles fine but I get an
unresolved external error:
WindowsApp1.obj : error LNK2019: unresolved
On Thursday, 16 April 2020 at 12:45:21 UTC, kinke wrote:
On Thursday, 16 April 2020 at 10:04:54 UTC, Basile B. wrote:
Just got it to work using
"libs" : [
"druntime-ldc",
"phobos2-ldc"
]
$ ldc2 -help | grep -- -link-defaultlib-shared
--link-defaultlib-shared -
On Thursday, 16 April 2020 at 09:48:21 UTC, Basile B. wrote:
My dub recipe includes this
"dflags" : [
"bin/libdruntime-ldc.a",
"bin/libphobos2-ldc.a"
]
so that ideally I'll get everything in the library but this
does not work. For example rt_init and rt_term are no visible
in the
My dub recipe includes this
"dflags" : [
"bin/libdruntime-ldc.a",
"bin/libphobos2-ldc.a"
]
so that ideally I'll get everything in the library but this does
not work. For example rt_init and rt_term are no visible in the
exports
$ nm -D libdexed-d.so | grep rt_init
$
and the
On Tuesday, 14 April 2020 at 09:27:35 UTC, Basile B. wrote:
On Tuesday, 14 April 2020 at 01:50:22 UTC, evilrat wrote:
On Monday, 13 April 2020 at 21:01:50 UTC, Baby Beaker wrote:
I want develop Android apps using Qt5. But C++ is very hard.
I want to use Dlang becouse Dlang is very easy.
In
On Tuesday, 14 April 2020 at 01:50:22 UTC, evilrat wrote:
On Monday, 13 April 2020 at 21:01:50 UTC, Baby Beaker wrote:
I want develop Android apps using Qt5. But C++ is very hard. I
want to use Dlang becouse Dlang is very easy.
In theory nothing stops you from doing that. In practice
however
On Sunday, 15 March 2020 at 20:18:03 UTC, James Blachly wrote:
I would like to programmatically retrieve members of a subclass
to create a self-documenting interface. I am afraid that my
approach is not possible due to need for compile time __traits
/ std.traits, and runtime typeinfo. My
On Saturday, 7 March 2020 at 10:49:24 UTC, Paolo Invernizzi wrote:
On Saturday, 7 March 2020 at 09:31:27 UTC, JN wrote:
Do we have any cool name for Dub packages?
tapes.
Rust has 'crates'
Crystal has 'shards'
Python has 'wheels'
Ruby has 'gems'
Frankly, I simply hate all that shuffle
On Friday, 6 March 2020 at 04:56:28 UTC, Marcone wrote:
Is it possible change compile time errors to runtime errors in
Dlang?
no
If yes, how can I make it?
if you deactivate all the errors emitted during the semantic then
there are very good chance that the compiler crashes while
On Saturday, 29 February 2020 at 12:50:59 UTC, Adnan wrote:
I have a struct that has to arrays. Each of those must have the
same sizes.
So while constructing the array, if you pass two arrays of
different sizes the constructor must return nothing.
In Rust I could easily use Option. D has no
On Friday, 28 February 2020 at 18:34:08 UTC, cc wrote:
This compiles:
class Foo {
int x;
@(1) void y() {}
this() {
static foreach (idx, field; getSymbolsByUDA!(Foo, 1)) {
}
}
}
This does not:
class Foo {
@(1) int x;
On Thursday, 27 February 2020 at 21:46:08 UTC, Bruce Carneal
wrote:
On Thursday, 27 February 2020 at 19:46:23 UTC, Basile B. wrote:
[...]
The code below is the test jig that I'm using currently. It is
adopted from yours but has added the -d=distribution command
line option.
[...]
Yes I
On Thursday, 27 February 2020 at 17:17:32 UTC, Bruce Carneal
wrote:
On Thursday, 27 February 2020 at 17:11:48 UTC, Basile B. wrote:
On Thursday, 27 February 2020 at 15:29:02 UTC, Bruce Carneal
wrote:
On Thursday, 27 February 2020 at 08:52:09 UTC, Basile B.
wrote:
I will post my code if there
On Thursday, 27 February 2020 at 15:29:02 UTC, Bruce Carneal
wrote:
On Thursday, 27 February 2020 at 08:52:09 UTC, Basile B. wrote:
I will post my code if there is any meaningful difference in
your subsequent results.
give me something I can compile and verify. I'm not there to
steal, if you
On Thursday, 27 February 2020 at 14:12:35 UTC, Basile B. wrote:
On Wednesday, 26 February 2020 at 22:07:30 UTC, Johan wrote:
On Wednesday, 26 February 2020 at 00:50:35 UTC, Basile B.
wrote:
[...]
Hi Basile,
I recently saw this presentation:
https://www.youtube.com/watch?v=Czr5dBfs72U
On Wednesday, 26 February 2020 at 22:07:30 UTC, Johan wrote:
On Wednesday, 26 February 2020 at 00:50:35 UTC, Basile B. wrote:
[...]
Hi Basile,
I recently saw this presentation:
https://www.youtube.com/watch?v=Czr5dBfs72U
Andrei made a talk about this too a few years ago.
It has some
On Thursday, 27 February 2020 at 09:41:20 UTC, Basile B. wrote:
On Thursday, 27 February 2020 at 09:33:28 UTC, Dennis Cote
wrote:
[...]
Sorry but no. I think that you have missed how this has changed
since the first message.
1. the way it was tested initially was wrong because LLVM was
On Thursday, 27 February 2020 at 09:33:28 UTC, Dennis Cote wrote:
On Wednesday, 26 February 2020 at 00:50:35 UTC, Basile B. wrote:
So after reading the translation of RYU I was interested too
see if the decimalLength() function can be written to be
faster, as it cascades up to 8 CMP.
Perhaps
On Thursday, 27 February 2020 at 04:44:56 UTC, Basile B. wrote:
On Thursday, 27 February 2020 at 03:58:15 UTC, Bruce Carneal
wrote:
Maybe you talked about another implementation of
decimalLength9 ?
Yes. It's one I wrote after I saw your post. Psuedo-code here:
auto d9_branchless(uint v)
On Thursday, 27 February 2020 at 03:58:15 UTC, Bruce Carneal
wrote:
Maybe you talked about another implementation of
decimalLength9 ?
Yes. It's one I wrote after I saw your post. Psuedo-code here:
auto d9_branchless(uint v) { return 1 + (v >= 10) + (v >=
100) ... }
Using ldc to target
On Wednesday, 26 February 2020 at 20:44:31 UTC, Bruce Carneal
wrote:
The winning function implementation lines up with that
distribution. It would not fare as well with higher entropy
input.
Using sorted equi-probable inputs (N 1 digit numbers, N 2 digit
numbers, ...) decimalLength9_0 beats
On Wednesday, 26 February 2020 at 22:07:30 UTC, Johan wrote:
On Wednesday, 26 February 2020 at 00:50:35 UTC, Basile B. wrote:
[...]
Hi Basile,
I recently saw this presentation:
https://www.youtube.com/watch?v=Czr5dBfs72U
It has some ideas that may help you make sure your measurements
are
On Wednesday, 26 February 2020 at 00:50:35 UTC, Basile B. wrote:
How is that possible ?
It turns out that there's a problem with the benchmarking method.
With command line argument the different optimization passes of
LLVM don't fuck up with the literal constants.
It appears that none of
On Wednesday, 26 February 2020 at 01:10:07 UTC, H. S. Teoh wrote:
On Wed, Feb 26, 2020 at 12:50:35AM +, Basile B. via
Digitalmars-d-learn wrote: [...]
#!dmd -boundscheck=off -O -release -inline
[...]
TBH, I'm skeptical of any performance results using dmd. I
wouldn't pay attention
So after reading the translation of RYU I was interested too see
if the decimalLength() function can be written to be faster, as
it cascades up to 8 CMP.
After struggling with bad ideas I finally find something that
looks nice:
- count the leading zero of the input
- switch() this count to
On Monday, 24 February 2020 at 10:02:26 UTC, Mike Parker wrote:
I mean, people spend a lot of time thinking, making
suggestions, etc. and the end result is: we now have nothing.
Which, IMO is the worst result for all.
Not at all. In this case, as the DIP author, Walter could have
chosen to
On Monday, 24 February 2020 at 00:50:38 UTC, ric maicle wrote:
[dmd 2.090.1 linux 64-bit]
The following code does not report the correct unit test
summary.
The report says 1 unit test passed.
~
shared static this() {
import core.exception;
assertHandler();
}
void
cah(string
On Sunday, 23 February 2020 at 17:14:33 UTC, Per Nordlöw wrote:
I would like to setup auto-generation of online documentation
for my public D libraries residing on Github and Gitlab.
What alternatives do I have?
for gitlab they have a system of pages that's quite easy to setup:
something
On Sunday, 23 February 2020 at 12:28:41 UTC, mark wrote:
On Sunday, 23 February 2020 at 09:35:30 UTC, Jacob Carlborg
wrote:
On 2020-02-23 10:03, mark wrote:
Then this would not only help dscanner, but also make it
clear to programmers that the argument could be modified.
It's not necessary
On Monday, 17 February 2020 at 22:34:31 UTC, Stefan Koch wrote:
Upon seeing this I just implemented typeid(stuff).name;
https://github.com/dlang/dmd/pull/10796
With any luck this will be possible in the next release ;)
Can this work using `stuff.classinfo.name` too ?
This is the same as
eg
Sh(echo) < "meh";
struct Sh
{
// you see the idea we have op overload for < here
}
On Monday, 17 February 2020 at 09:41:35 UTC, Adnan wrote:
On Monday, 17 February 2020 at 07:50:02 UTC, Mitacha wrote:
On Monday, 17 February 2020 at 05:04:02 UTC, Adnan wrote:
What is the equivalent of Rust's chunks_exact()[1] method in
D? I want to iterate over a spitted string two chunks at
On Sunday, 16 February 2020 at 14:01:13 UTC, Robert M. Münch
wrote:
I want to use a specific branch version if a package. I
specified the branch version in a dub.selections.json file.
But it seems that dub requires a ZIP file that can be
downloaded from code.dlang.org, which of course fails
On Thursday, 13 February 2020 at 17:15:50 UTC, mark wrote:
I'm starting out with GtkD and have this function:
void main(string[] args) {
Main.init(args);
auto game = new GameWindow();
Main.run();
}
and this method:
void quit(Widget widget) {
Main.quit();
}
When I
On Friday, 14 February 2020 at 22:36:20 UTC, PatateVerte wrote:
Hello
I noticed a strange behaviour of the DMD compiler when it has
to call a function with float arguments.
I build with the flags "-mcpu=avx2 -O -m64" under windows 64
bits using "DMD32 D Compiler v2.090.1-dirty"
I have the
On Thursday, 13 February 2020 at 09:06:26 UTC, Basile B. wrote:
I don't know why I havent implemented this earlier as it was
quite simple. It's basically the same as when you evaluate a
custom expression excepted that you use the mouse position to
extract a (more or less, TBH) precise unary
On Monday, 10 February 2020 at 12:31:03 UTC, Basile B. wrote:
On Friday, 31 January 2020 at 14:25:30 UTC, Basile B. wrote:
[...]
about [1] (llvm) I've made a better binding this weekend:
https://gitlab.com/basile.b/llvmd-d
Seriouly I cant believe that at some point in the past I
translated
On Friday, 31 January 2020 at 14:25:30 UTC, Basile B. wrote:
On Friday, 31 January 2020 at 11:19:37 UTC, Saurabh Das wrote:
I see that DUB has DMD as a library package, but I was not
able to understand how to use it.
Is it possible to use DMD as a library within a D program to
compile a
On Saturday, 8 February 2020 at 03:59:22 UTC, Borax Man wrote:
As linked before, dexed is available here
https://github.com/akira13641/dexed
and I compiled it just a few days ago with success.
It is a fork (check the count of commits).
The most recent version is here
On Friday, 7 February 2020 at 08:52:44 UTC, mark wrote:
Some languages support this kind of thing:
if ((var x = expression) > 50)
print(x, " is > 50")
Is there anything similar in D?
Yes assuming that the expression is bool evaluable. This includes
- pointers: `if (auto p =
On Friday, 7 February 2020 at 18:10:07 UTC, bachmeier wrote:
On Friday, 7 February 2020 at 17:02:18 UTC, solnce wrote:
Hi guys,
I am total newbie and trying to learn a little bit of
programming for personal purposes (web scrapping, small
databases for personal use etc.). I've been trying to
On Friday, 31 January 2020 at 11:19:37 UTC, Saurabh Das wrote:
I see that DUB has DMD as a library package, but I was not able
to understand how to use it.
Is it possible to use DMD as a library within a D program to
compile a string to machine code and run the compiled code at
runtime?
On Friday, 24 January 2020 at 14:28:03 UTC, berni44 wrote:
On Friday, 24 January 2020 at 12:22:49 UTC, Dennis wrote:
You can pass the -X flag to dmd, which makes it generate a
.json file describing the compiled file.
Great, that's what I was looking for - although it's also good
to know the
On Saturday, 25 January 2020 at 09:18:01 UTC, Basile B. wrote:
On Saturday, 25 January 2020 at 08:35:18 UTC, mark wrote:
I have this code:
import std.random;
import std.stdio;
void main()
{
auto aa = ["one": 1, "two": 2, "three": 3];
writeln(aa);
auto rnd = rndGen;
auto word =
On Saturday, 25 January 2020 at 08:35:18 UTC, mark wrote:
I have this code:
import std.random;
import std.stdio;
void main()
{
auto aa = ["one": 1, "two": 2, "three": 3];
writeln(aa);
auto rnd = rndGen;
auto word = aa.byKey.choice(rnd);
writeln(word);
}
And in the D
On Saturday, 25 January 2020 at 08:35:18 UTC, mark wrote:
I have this code:
import std.random;
import std.stdio;
void main()
{
auto aa = ["one": 1, "two": 2, "three": 3];
writeln(aa);
auto rnd = rndGen;
auto word = aa.byKey.choice(rnd);
writeln(word);
}
And in the D
On Saturday, 25 January 2020 at 09:06:53 UTC, mark wrote:
On Saturday, 25 January 2020 at 08:59:23 UTC, Basile B. wrote:
On Saturday, 25 January 2020 at 08:35:18 UTC, mark wrote:
[...]
[snip]
[...]
rndGen is a range.
Use `auto word = aa.byKey.choice(rnd.front())` as index
instead.
Then
On Saturday, 25 January 2020 at 08:59:23 UTC, Basile B. wrote:
On Saturday, 25 January 2020 at 08:35:18 UTC, mark wrote:
[...]
rndGen is a range.
Use `auto word = aa.byKey.choice(rnd.front())` as index instead.
Then `rndGen.popFront()` to advance.
no sorry, I didn't read and thought you
On Saturday, 25 January 2020 at 08:35:18 UTC, mark wrote:
I have this code:
import std.random;
import std.stdio;
void main()
{
auto aa = ["one": 1, "two": 2, "three": 3];
writeln(aa);
auto rnd = rndGen;
auto word = aa.byKey.choice(rnd);
writeln(word);
}
And in the D
On Wednesday, 1 January 2020 at 09:47:11 UTC, Akim Demaille wrote:
Hi all!
GNU Bison 3.5 was released with a D backend
(https://savannah.gnu.org/forum/forum.php?forum_id=9639). This
backend is
functional, and you can get a sense of its current shape by
looking at the
shipped example (a
On Sunday, 8 December 2019 at 18:13:59 UTC, DanielG wrote:
On Sunday, 8 December 2019 at 18:01:03 UTC, Steven
Schveighoffer wrote:
Yes, if it can compile when you move things around, and the
result is *correct* (very important characteristic)
Indeed, everything's working as intended when
On Wednesday, 4 December 2019 at 12:54:34 UTC, Basile B. wrote:
On Wednesday, 4 December 2019 at 03:17:27 UTC, Adam D. Ruppe
wrote:
On Wednesday, 4 December 2019 at 01:28:00 UTC, H. S. Teoh
wrote:
typeof(return) is one of the lesser known cool things about D
that make it so cool. Somebody
On Friday, 6 December 2019 at 07:03:45 UTC, berni44 wrote:
In std.typecons, in Tuple there are two opCmp functions, that
are almost identical; they only differ by one being const and
the other not:
int opCmp(R)(R rhs)
if (areCompatibleTuples!(typeof(this), R, "<"))
{
On Wednesday, 4 December 2019 at 23:53:53 UTC, NeeO wrote:
Would someone be able to explain this ? I can only seem to call
a template constructor in one way, but I can't seem to pass
what looks like an accepted type to the template constructor
via a function call.
/+ main.d +/
import
On Wednesday, 4 December 2019 at 03:17:27 UTC, Adam D. Ruppe
wrote:
On Wednesday, 4 December 2019 at 01:28:00 UTC, H. S. Teoh wrote:
typeof(return) is one of the lesser known cool things about D
that make it so cool. Somebody should write an article about
it to raise awareness of it. :-D
On Tuesday, 3 December 2019 at 10:19:02 UTC, Jonathan M Davis
wrote:
On Tuesday, December 3, 2019 3:03:22 AM MST Basile B. via
Digitalmars-d- learn wrote:
On Tuesday, 3 December 2019 at 09:58:36 UTC, Jonathan M Davis
wrote:
> On Tuesday, December 3, 2019 12:12:18 AM MST Basile B.
On Tuesday, 3 December 2019 at 23:44:59 UTC, mipri wrote:
On Tuesday, 3 December 2019 at 10:13:30 UTC, mipri wrote:
Speaking of nice stuff and aliases, suppose you want to
return a nice tuple with named elements?
Option 1: auto
auto option1() {
return tuple!(int, "apples", int,
On Tuesday, 3 December 2019 at 09:22:49 UTC, Jan Hönig wrote:
Today i have stumbled on Hacker News into:
https://0.30004.com/
I am learning D, that's why i have to ask.
Why does
writefln("%.17f", .1+.2);
not evaluate into: 0.30004, like C++
but rather to:
On Tuesday, 3 December 2019 at 10:19:02 UTC, Jonathan M Davis
wrote:
On Tuesday, December 3, 2019 3:03:22 AM MST Basile B. via
Digitalmars-d- learn wrote:
[...]
There isn't much point in giving the type of null an explicit
name given that it doesn't come up very often, and typeof(null
On Tuesday, 3 December 2019 at 09:58:36 UTC, Jonathan M Davis
wrote:
On Tuesday, December 3, 2019 12:12:18 AM MST Basile B. via
Digitalmars-d- learn wrote:
I wish something like this was possible, until I change the
return type of `alwaysReturnNull` from `void*` to `auto`.
---
class
On Tuesday, 3 December 2019 at 09:44:20 UTC, Basile B. wrote:
On Tuesday, 3 December 2019 at 08:47:45 UTC, Andrea Fontana
wrote:
On Tuesday, 3 December 2019 at 07:24:31 UTC, Basile B. wrote:
A testA()
{
return alwaysReturnNull(); // Tnull can be implictly
converted to A
On Tuesday, 3 December 2019 at 08:47:45 UTC, Andrea Fontana wrote:
On Tuesday, 3 December 2019 at 07:24:31 UTC, Basile B. wrote:
A testA()
{
return alwaysReturnNull(); // Tnull can be implictly
converted to A
}
still nice tho.
Why not [1]?
[1] typeof(null)
On Tuesday, 3 December 2019 at 07:12:18 UTC, Basile B. wrote:
I wish something like this was possible, until I change the
return type of `alwaysReturnNull` from `void*` to `auto`.
---
class A {}
class B {}
auto alwaysReturnNull() // void*, don't compile
{
writeln();
return null;
}
A
I wish something like this was possible, until I change the
return type of `alwaysReturnNull` from `void*` to `auto`.
---
class A {}
class B {}
auto alwaysReturnNull() // void*, don't compile
{
writeln();
return null;
}
A testA()
{
return alwaysReturnNull();
}
B testB()
{
On Friday, 15 November 2019 at 10:55:55 UTC, IGotD- wrote:
On Friday, 15 November 2019 at 08:58:43 UTC, user1234 wrote:
On Wednesday, 13 November 2019 at 11:07:12 UTC, IGotD- wrote:
I'm trying to find the rationale why GC pointers (should be
names managed pointers) are using the exact same
On Tuesday, 12 November 2019 at 07:59:39 UTC, Bastiaan Veelo
wrote:
On Monday, 11 November 2019 at 20:05:11 UTC, Antonio Corbi
wrote:
[...]
Thanks, Antonio. My problem is that the length of the array
should be a built-in property of WrapIntegerArray (immutable in
this case); what I'd
On Tuesday, 16 July 2019 at 15:07:11 UTC, Mike Brockus wrote:
If you never seen Meson before then pick up a camera and take a
picture:
樂 https://mesonbuild.com/
Hello, everyone.
I started adding continues integration as part of my
development cycle and I was wondering how would I write a
On Wednesday, 10 July 2019 at 08:03:30 UTC, Nathan S. wrote:
I want to be able to do things like:
---
bool isSame(Object a, Object b) { return a is b; }
interface SomeInterface { int whatever(); }
bool failsToCompile(SomeInterface a, SomeInterface b) { return
isSame(a, b); }
---
Error:
On Monday, 1 July 2019 at 23:52:49 UTC, Andrey wrote:
Hello,
Is it possible to mixin in code a mangled name of some entity
so that compiler didn't emit undefined symbol error? For
example mangled function name or template parameter?
Yes. An example from the DMD test suite itself :
On Wednesday, 26 June 2019 at 23:35:59 UTC, Jesse Phillips wrote:
On Wednesday, 26 June 2019 at 14:58:08 UTC, Basile B. wrote:
On Wednesday, 26 June 2019 at 09:40:06 UTC, JN wrote:
On Wednesday, 26 June 2019 at 05:38:32 UTC, Jesse Phillips
wrote:
Sometimes a good API isn't the right answer. I
On Wednesday, 26 June 2019 at 09:40:06 UTC, JN wrote:
On Wednesday, 26 June 2019 at 05:38:32 UTC, Jesse Phillips
wrote:
Sometimes a good API isn't the right answer. I like getopt as
it is but I wanted a little different control. So I wrote up
an article on my work around.
On Wednesday, 19 June 2019 at 21:21:53 UTC, XavierAP wrote:
On Wednesday, 19 June 2019 at 18:56:57 UTC, BoQsc wrote:
I would like to make sure that my modules do not interfere
with d lang. Is there any way to escape reserved words?
The only reason C# allows this is for interop or code
On Wednesday, 19 June 2019 at 19:07:30 UTC, Jonathan M Davis
wrote:
On Wednesday, June 19, 2019 12:56:57 PM MDT BoQsc via
Digitalmars-d-learn wrote:
I would like to make sure that my modules do not interfere
with d lang. Is there any way to escape reserved words?
On Sunday, 16 June 2019 at 16:14:26 UTC, Laeeth Isharc wrote:
https://github.com/kaleidicforks/mkernel-d
I spent a few minutes on just turning the C code to betterC D -
was curious to see if it would work. It seems to. I didn't
try loading with GRUB. The dub.sdl isn't quite right, so best
On Thursday, 13 June 2019 at 20:12:41 UTC, Machine Code wrote:
On Monday, 10 June 2019 at 20:34:14 UTC, Basile B. wrote:
A small update of this IDE dedicated to the D languages and
its tools [1].
Only some small fixes and adjustments, see [2] for details and
pre-compiled binaries.
[1]
On Tuesday, 11 June 2019 at 21:05:05 UTC, Kaylan Tussey wrote:
On Monday, 10 June 2019 at 20:34:14 UTC, Basile B. wrote:
A small update of this IDE dedicated to the D languages and
its tools [1].
Only some small fixes and adjustments, see [2] for details and
pre-compiled binaries.
[1]
On Thursday, 13 June 2019 at 05:09:34 UTC, gleb.tsk wrote:
On Monday, 10 June 2019 at 20:34:14 UTC, Basile B. wrote:
[1] https://github.com/Basile-z/dexed
[2] https://github.com/Basile-z/dexed/releases/tag/v3.7.10
Thank you, very interesting.
But...
lazbuild -B -r dexed.lpi
On Tuesday, 11 June 2019 at 08:08:14 UTC, Basile B. wrote:
On Tuesday, 11 June 2019 at 08:05:31 UTC, dangbinghoo wrote:
hi there,
I think that D compiler needs -nogc switch to fully disable gc
for a project, and document of phobos also needs a friendly
way to list-out all @nogc API.
we
On Tuesday, 11 June 2019 at 08:05:31 UTC, dangbinghoo wrote:
hi there,
I think that D compiler needs -nogc switch to fully disable gc
for a project, and document of phobos also needs a friendly way
to list-out all @nogc API.
we already have -betterC, and betterC disabled GC, why we could
A small update of this IDE dedicated to the D languages and its
tools [1].
Only some small fixes and adjustments, see [2] for details and
pre-compiled binaries.
[1] https://github.com/Basile-z/dexed
[2] https://github.com/Basile-z/dexed/releases/tag/v3.7.10
On Sunday, 2 June 2019 at 20:08:28 UTC, Murilo wrote:
Hi everyone. I don't mean to spam
Sure otherwise you would not post this 3 times in a row:
-
https://forum.dlang.org/post/tjoipokamsvpbemzd...@forum.dlang.org
-
https://forum.dlang.org/reply/hebsehdcxhlhkzwxh...@forum.dlang.org
On Sunday, 2 June 2019 at 07:55:27 UTC, Amex wrote:
A.B
If A is null, crash.
A?.B : writeln("HAHA");
No crash, ignored, equivalent to
if (A is null) writeln("HAHA"); else A.B;
safeAccess from iz does this :
https://github.com/Basile-z/iz/blob/master/import/iz/sugar.d#L1666
On Sunday, 2 June 2019 at 19:38:11 UTC, Amex wrote:
Tired of having to import a single function to call it.
Since
mod.foo(x);
doesn't work since mod is not defined.
we have to do
import mod : foo;
foo(x);
Why not
mod:foo(x)?
or
mod#foo(x)
or
mod@foo(x)
or whatever
Reduces 50% of
On Saturday, 25 May 2019 at 03:22:50 UTC, Murilo wrote:
On the 6th of June(6/6) we celebrate the D day on Normandy, but
I have decided to turn it into our own holiday to celebrate the
D language. So on this day please take the time to tell the
world about this language and to invite more
On Wednesday, 22 May 2019 at 08:54:45 UTC, Russel Winder wrote:
On Tue, 2019-05-21 at 19:14 +, Era Scarecrow via
Digitalmars-d-learn wrote:
[…]
I worked on/with bitfields in the past, the limit sizes is
more
or less for natural int types that D supports.
Rust bitfield crate and it's
On Wednesday, 22 May 2019 at 08:25:58 UTC, Basile B. wrote:
On Wednesday, 22 May 2019 at 00:22:09 UTC, JS wrote:
I am trying to create some fast sin, sinc, and exponential
routines to speed up some code by using tables... but it seems
it's slower than the function itself?!?
[...]
Hi,
On Wednesday, 22 May 2019 at 00:22:09 UTC, JS wrote:
I am trying to create some fast sin, sinc, and exponential
routines to speed up some code by using tables... but it seems
it's slower than the function itself?!?
[...]
Hi, lookup tables ARE faster but the problem you have here, and
I'm
On Sunday, 19 May 2019 at 21:01:33 UTC, Robert M. Münch wrote:
Hi, we are currently build up our new technology stack and for
this create a 2D GUI framework.
https://www.dropbox.com/s/iu988snx2lqockb/Bildschirmaufnahme%202019-05-19%20um%2022.32.46.mov?dl=0
The screencast shows a responsive
On Tuesday, 21 May 2019 at 14:04:29 UTC, Robert M. Münch wrote:
On 2019-05-19 21:21:55 +, Ola Fosheim Grøstad said:
Interesting, is each cell a separate item then?
So assuming 3GHz cpu, we get 0.23*3e9/1600 = 431250 cycles per
cell?
That's a lot of work.
Here is a new screencast:
201 - 300 of 1382 matches
Mail list logo