Hello,
I've been developing a library[1] based on spasm for which I've
implemented the druntime and currently it compiles web apps
properly with TypeInfo, no GC, and it even uses diet templates.
I'm having a problem implementing the `new` keyword, so that I
can start importing more
On Wednesday, 6 January 2016 at 08:24:10 UTC, Atila Neves wrote:
On Tuesday, 5 January 2016 at 14:15:18 UTC, rsw0x wrote:
On Tuesday, 5 January 2016 at 13:09:55 UTC, Etienne Cimon
wrote:
On Tuesday, 5 January 2016 at 10:11:36 UTC, Atila Neves wrote:
[...]
The Rust mio library doesn't seem
On Wednesday, 6 January 2016 at 08:21:00 UTC, Atila Neves wrote:
On Tuesday, 5 January 2016 at 13:09:55 UTC, Etienne Cimon wrote:
On Tuesday, 5 January 2016 at 10:11:36 UTC, Atila Neves wrote:
[...]
The Rust mio library doesn't seem to be doing any black magic.
I wonder how libasync could
On Tuesday, 5 January 2016 at 10:11:36 UTC, Atila Neves wrote:
On Thursday, 31 December 2015 at 08:23:26 UTC, Laeeth Isharc
wrote:
[...]
vibe.d _was_ faster than Go. I redid the measurements recently
once I wrote an MQTT broker in Rust, and it was losing to
boost::asio, Rust's mio, Go, and
On Monday, 4 January 2016 at 10:32:41 UTC, Daniel Kozak wrote:
V Sat, 02 Jan 2016 03:00:19 +
Etienne Cimon via Digitalmars-d <digitalmars-d@puremagic.com>
napsáno:
On Friday, 1 January 2016 at 11:38:53 UTC, Daniel Kozak wrote:
> On Thursday, 31 December 2015 at 18:23:17 UTC
On Sunday, 3 January 2016 at 22:16:08 UTC, Nick B wrote:
can someone tell me what changes need to be commited, so that
we have a chance at getting some decent (or even average)
benchmark numbers ?
Considering that the best benchmarks are from tools that have all
the C calls inlined, I think
On Saturday, 2 January 2016 at 10:05:56 UTC, Sebastiaan Koppe
wrote:
That is nice. Didn't know that. That would enable
zero-downtime-updates right?
Yes, although you might still break existing connections unless
you can make the previous process wait for the existing
connections to close after
On Friday, 1 January 2016 at 11:38:53 UTC, Daniel Kozak wrote:
On Thursday, 31 December 2015 at 18:23:17 UTC, Etienne Cimon
wrote:
On Thursday, 31 December 2015 at 13:29:49 UTC, Daniel Kozak
wrote:
On Thursday, 31 December 2015 at 12:09:30 UTC, Etienne Cimon
wrote:
[...]
When I use
On Thursday, 31 December 2015 at 08:51:31 UTC, yawniek wrote:
On Thursday, 31 December 2015 at 08:23:26 UTC, Laeeth Isharc
wrote:
Isn't there a decent chance the bottleneck is vibe.d's JSON
implementation rather than the framework as such ? We know
from Atila's MQTT project that vibe.D can be
On Thursday, 31 December 2015 at 13:29:49 UTC, Daniel Kozak wrote:
On Thursday, 31 December 2015 at 12:09:30 UTC, Etienne Cimon
wrote:
That would be the other way around. TCP_NODELAY is not enabled
in the local connection, which makes a ~20-30ms difference per
request on keep-alive
On Tuesday, 22 December 2015 at 14:49:51 UTC, Johan Engelen wrote:
On Tuesday, 15 December 2015 at 23:05:38 UTC, Johan Engelen
wrote:
Hi all,
I have been working on adding profile-guided optimization
(PGO) to LDC [1][2][3].
At this point, I'd like to hear your input and hope you can
help
On Monday, 26 October 2015 at 20:30:51 UTC, rsw0x wrote:
On Monday, 26 October 2015 at 11:37:17 UTC, Etienne Cimon wrote:
On Monday, 26 October 2015 at 04:48:09 UTC, H. S. Teoh wrote:
On Mon, Oct 26, 2015 at 02:37:16AM +, Etienne Cimon via
Digitalmars-d wrote:
If you must use DMD, I
On Tuesday, 27 October 2015 at 18:18:36 UTC, Etienne Cimon wrote:
On Monday, 26 October 2015 at 20:30:51 UTC, rsw0x wrote:
On Monday, 26 October 2015 at 11:37:17 UTC, Etienne Cimon
wrote:
On Monday, 26 October 2015 at 04:48:09 UTC, H. S. Teoh wrote:
[...]
I'd really like the performance
On Monday, 26 October 2015 at 04:48:09 UTC, H. S. Teoh wrote:
On Mon, Oct 26, 2015 at 02:37:16AM +, Etienne Cimon via
Digitalmars-d wrote:
If you must use DMD, I recommend filing an enhancement request
and bothering Walter about it.
T
I'd really like the performance benefits
I've been playing around with perf and my web server and found
that the bottleneck is by far the math module of Botan:
https://github.com/etcimon/botan/blob/master/source/botan/math/mp/mp_core.d
I'm probably a bit naive but I was wishing for some inlining to
happen. I see LOTS of CPU time
On Friday, 23 October 2015 at 15:17:43 UTC, Etienne Cimon wrote:
Hello,
I've been trying to understand this for a while now:
https://github.com/etcimon/botan/blob/master/source/botan/math/mp/mp_core.d#L765
This comparison (looking at it with windbg during cmp
operation) has these invalid
Hello,
I've been trying to understand this for a while now:
https://github.com/etcimon/botan/blob/master/source/botan/math/mp/mp_core.d#L765
This comparison (looking at it with windbg during cmp operation)
has these invalid values in the respective registers:
rdx: 9366584610601550696
r15:
On Tuesday, 6 October 2015 at 09:36:42 UTC, Marc Schütz wrote:
On Tuesday, 6 October 2015 at 05:45:18 UTC, Andre wrote:
vagrant@vagrant-ubuntu-trusty-64:~/projects/tests/vibed_test$
dub
Target memutils 0.4.1 is up to date. Use --force to rebuild.
Target libasync 0.7.5 is up to date. Use
On Monday, 5 October 2015 at 06:24:44 UTC, Andrei Alexandrescu
wrote:
On 10/5/15 1:34 AM, Rikki Cattermole wrote:
Vibe.d has a provider called libasync. Libasync is fully
implemented in
D. You probably should have tried that at least.
Although I still would recommend trying it ;) It's a lot
On Tuesday, 18 August 2015 at 10:45:49 UTC, Walter Bright wrote:
So if you're comparing code generated by dmd/gdc/ldc, and
notice something that dmd could do better at (1, 2 or 3),
please let me know. Often this sort of thing is low hanging
fruit that is fairly easily inserted into the back
On Tuesday, 18 August 2015 at 12:32:17 UTC, Etienne Cimon wrote:
a crypto library that you can't optimize, building -O -g also
gives me a ccog.c ICE error. I think it might be something
about `asm pure` that uses some locals, does that eliminate the
function call parameters?
Sorry that was
On Sunday, 9 August 2015 at 09:15:16 UTC, ref2401 wrote:
Does the fund exist?
Are there sponsors?
How can one donate some money to D?
Ask a D developer you appreciate (in private) to give you his
paypal/email, and pay him directly like he's a musician on the
side of the road. He will be
On Monday, 3 August 2015 at 17:33:30 UTC, aki wrote:
On Monday, 3 August 2015 at 16:47:58 UTC, John Colvin wrote:
changing two lines:
final class SubFoo : Foo {
int test(F)(F obj, int repeat) {
I tried it. DMD is no change, while GDC gets acceptable score.
D(DMD 2.067.1): 2.445
D(GDC
On Saturday, 1 August 2015 at 07:56:34 UTC, John Chapman wrote:
On Friday, 31 July 2015 at 22:02:13 UTC, Paul D Anderson wrote:
I'm waiting to upgrade from Windows 7 to Windows 10 to avoid
the inevitable just-released bugs, but does anyone have any
info about D on Windows 10? Has anyone tried
On Sunday, 2 August 2015 at 02:49:03 UTC, Jonathan M Davis wrote:
On Sunday, 2 August 2015 at 01:50:50 UTC, David Nadlinger wrote:
Again, am I missing something obvious here? I can't quite
believe that struct lifetime would have been quite as broken
for so long.
I suspect that what it comes
On Thursday, 30 July 2015 at 19:38:12 UTC, Joakim wrote:
On Monday, 25 May 2015 at 20:08:48 UTC, Joakim wrote:
On Monday, 18 May 2015 at 15:47:07 UTC, Joakim wrote:
Sure, have fun with your new devices. :) Hopefully, I'll get
Android/ARM working before then, but I don't and won't have
any
On Wednesday, 29 July 2015 at 11:06:03 UTC, Ola Fosheim Grøstad
wrote:
On Wednesday, 29 July 2015 at 10:39:54 UTC, yawniek wrote:
sorry typo. i meant we now can have statefull apis.
Ok, then I get it. ;)
and i disagree on the limited usefulness.
do you have REST api in native apps? i
On Wednesday, 29 July 2015 at 00:12:21 UTC, Brandon Ragland wrote:
For actual web applications, and front-end development
currently done in your more traditional languages, D could be
used, in a style similar to Java's JSP, JSTL, and EL. Just
without the notion of scripts in the pages
On Wednesday, 29 July 2015 at 01:23:54 UTC, Etienne Cimon wrote:
Most developers nowadays are having a lot of success building
web apps with an AngularJS MVC Vibe.d, rather than rendering
Sorry, I meant with an AngularJS MVC Web services
On Tuesday, 28 July 2015 at 18:45:51 UTC, Sönke Ludwig wrote:
Am 28.07.2015 um 17:19 schrieb Etienne Cimon:
On Tuesday, 28 July 2015 at 14:07:19 UTC, Atila Neves wrote:
Start of the two week process, folks.
Code: https://github.com/s-ludwig/std_data_json
Docs:
On Tuesday, 28 July 2015 at 15:07:46 UTC, Rikki Cattermole wrote:
On 29/07/2015 2:07 a.m., Atila Neves wrote:
Start of the two week process, folks.
Code: https://github.com/s-ludwig/std_data_json
Docs: http://s-ludwig.github.io/std_data_json/
Atila
Right now, my view is no.
Unless there is
On Tuesday, 28 July 2015 at 14:07:19 UTC, Atila Neves wrote:
Start of the two week process, folks.
Code: https://github.com/s-ludwig/std_data_json
Docs: http://s-ludwig.github.io/std_data_json/
Atila
This is cool:
On Tuesday, 28 July 2015 at 15:55:04 UTC, Brad Anderson wrote:
On Tuesday, 28 July 2015 at 15:07:46 UTC, Rikki Cattermole
wrote:
On 29/07/2015 2:07 a.m., Atila Neves wrote:
Start of the two week process, folks.
Code: https://github.com/s-ludwig/std_data_json
Docs:
On Sunday, 26 July 2015 at 03:04:21 UTC, Brandon Ragland wrote:
On Sunday, 26 July 2015 at 02:53:12 UTC, Etienne Cimon wrote:
On 2015-07-25 22:35, Brandon Ragland wrote:
On Sunday, 26 July 2015 at 00:46:58 UTC, Etienne Cimon wrote:
[...]
In relation to DDB: Have you seen:
On 2015-07-25 18:47, Brandon Ragland wrote:
Hi All,
Not entirely certain if there is a decent D web applications server
implementation as of yet, but if there is a project going on, I'd love
to have a gander.
On the off-chance there isn't one, who would be interested in going at
it, call it, a
On 2015-07-25 22:35, Brandon Ragland wrote:
On Sunday, 26 July 2015 at 00:46:58 UTC, Etienne Cimon wrote:
On 2015-07-25 18:47, Brandon Ragland wrote:
Hi All,
Not entirely certain if there is a decent D web applications server
implementation as of yet, but if there is a project going on, I'd
On Sunday, 19 July 2015 at 19:54:31 UTC, Jarl André Hübenthal
wrote:
Hi
I have created a personal project that aims to learn myself
more about D/vibe.d and to create a simple and easy to grasp
example on Mongo - Vibe - Angular.
Nice ! I'm also working on a project like this, using some paid
On Saturday, 18 July 2015 at 11:19:45 UTC, Ola Fosheim Grøstad
wrote:
StackOverflow has become the de-facto documentation resource
for software engineers. It saves me insane amounts of time,
many other programmers say the same thing. Google has been
known to shut down it's own support-forums
On Saturday, 18 July 2015 at 15:11:30 UTC, Ola Fosheim Grøstad
wrote:
However, I currently don't see much advantage in having the
same language on client and server, so I'll probably stick to
TypeScript/Dart, Angular2/Polymer in the near future because of
debugging and tooling.
I think these
On Sunday, 12 July 2015 at 21:13:35 UTC, Ola Fosheim Grøstad
wrote:
On Sunday, 12 July 2015 at 20:36:26 UTC, Etienne Cimom wrote:
backend being a natively compiled service in the computer.
With a 2 megabytes packed PE that is. It may not seem useful,
but to me it's revolutionary.
What is PE?
On Wednesday, 1 July 2015 at 18:09:19 UTC, Mathias Lang wrote:
On Tuesday, 30 June 2015 at 15:18:36 UTC, Jack Applegame wrote:
Just creating a bunch (10k) of sleeping (for 100 msecs)
goroutines/tasks.
Compilers
go: go version go1.4.2 linux/amd64
vibe.d: DMD64 D Compiler v2.067.1
On Sunday, 28 June 2015 at 16:57:44 UTC, Suliman wrote:
Also next code that I take from example after run absolutely do
not do nothing:
This code will register a directory watcher in the working
directory, on the thread's event loop, and then use timers to
create file/folder activity to
On Sunday, 28 June 2015 at 17:10:16 UTC, Etienne Cimon wrote:
g_evl.run(10.seconds);
Hmm, sorry that would be g_evl.loop(10.seconds) or
getThreadEventLoop().loop(10.seconds). I use the vibe.d driver
most often.
On Sunday, 28 June 2015 at 19:34:46 UTC, Suliman wrote:
void main()
{
void dirWatcher()
{
auto g_watcher = new
AsyncDirectoryWatcher(getThreadEventLoop());
g_watcher.run({
DWChangeInfo[1] change;
DWChangeInfo[]
On Sunday, 28 June 2015 at 18:33:28 UTC, Suliman wrote:
Hmm, sorry that would be g_evl.loop(10.seconds) or
getThreadEventLoop().loop(10.seconds). I use the vibe.d driver
most often.
I changed paths to hardcoded to prevent issue with them, but
next code after run only create hey folder and
On 2015-06-27 01:06, thedeemon wrote:
On Saturday, 27 June 2015 at 03:10:51 UTC, Etienne Cimon wrote:
What you're asking for is probably type inference. Notice the auto
return type? This keyword is actually very advanced and bleeding edge
in natively compiled languages.
Inference of return
On 2015-06-26 14:27, Maxime Chevalier-Boisvert wrote:
I seem to have run into a heisenbug involving destructors and the GC.
I'm kind of stuck at this point and need help tracking down the issue.
I put the broken code in a branch called heisenbug on github:
On 2015-06-26 22:45, Parke via Digitalmars-d wrote:
Hi,
I have a question about Walter's DConf keynote and the Memory
DisAllocation pattern.
http://dconf.org/2015/talks/bright.html
The following example is from the slides of Walter's talk.
auto toString(uint u) {
static struct
On 2015-06-26 23:44, Temtaime wrote:
Disagree. Destroy on a pointer calls dtor of a struct.
Why it should be an error ?
Exactly what I assumed too. Can you imagine all of the random errors
that stem from such a basic, low-level assumption? I carry a scar for
every day I've spent in the
On Tuesday, 23 June 2015 at 06:26:39 UTC, Nick B wrote:
On Thursday, 18 June 2015 at 03:44:08 UTC, Etienne Cimon wrote:
So now I can build a full web application/server executable in
less than 2mb packed, and it runs faster than anything out
there.
Etienne
Do you have an performance
On Sunday, 21 June 2015 at 03:16:31 UTC, Nick B wrote:
On Friday, 19 June 2015 at 11:28:30 UTC, Etienne Cimon wrote:
On Thursday, 18 June 2015 at 05:23:25 UTC, Nick B wrote:
On Thursday, 18 June 2015 at 03:44:08 UTC, Etienne Cimon
wrote:
Will you explain how it is different to Vibe.d ?
On Sunday, 21 June 2015 at 19:08:47 UTC, Jacob Carlborg wrote:
On 20/06/15 16:00, Etienne wrote:
Yep, looks like we already have better. I don't understand how
D hasn't
fully picked up in Web Dev at this point. Are they expecting an
e-commerce/blogging/cms platform to go with it?
My biggest
On Friday, 19 June 2015 at 11:29:58 UTC, Etienne Cimon wrote:
On Friday, 19 June 2015 at 11:28:30 UTC, Etienne Cimon wrote:
On Thursday, 18 June 2015 at 05:23:25 UTC, Nick B wrote:
On Thursday, 18 June 2015 at 03:44:08 UTC, Etienne Cimon
wrote:
[...]
Also, the HTTP client has a cookiejar
On Thursday, 18 June 2015 at 05:23:25 UTC, Nick B wrote:
On Thursday, 18 June 2015 at 03:44:08 UTC, Etienne Cimon wrote:
On Wednesday, 17 June 2015 at 18:40:01 UTC, Laeeth Isharc
wrote:
Any idea how far away it might be from being something that
someone could use in an enterprise environment
On Friday, 19 June 2015 at 11:28:30 UTC, Etienne Cimon wrote:
On Thursday, 18 June 2015 at 05:23:25 UTC, Nick B wrote:
On Thursday, 18 June 2015 at 03:44:08 UTC, Etienne Cimon wrote:
[...]
Etienne -
Interesting back story.
Will this be under a Boost licence ?
Will you provide a link ?
On Thursday, 18 June 2015 at 11:43:18 UTC, ketmar wrote:
On Wed, 17 Jun 2015 22:35:12 +, Etienne Cimon wrote:
e.g. __gshared MyObj g_obj1;
Thread 1: g_obj1 = new MyObj;
Thread 2: g_obj1.obj2 = new MyObj;
Thread 3: write(g_obj1.obj2); -- access violation (probably)
so no way to anchor
On Thursday, 18 June 2015 at 15:43:10 UTC, Wyatt wrote:
On Thursday, 18 June 2015 at 15:19:19 UTC, Etienne wrote:
On Thursday, 18 June 2015 at 15:09:46 UTC, Wyatt wrote:
This comes to mind, along with the citations:
On Wednesday, 17 June 2015 at 22:21:21 UTC, Laeeth Isharc wrote:
On Wednesday, 17 June 2015 at 21:35:34 UTC, Etienne wrote:
I am no compiler/runtime guru, but it sounds like if it were
possible to make this a swappable option for D this might be
very important. Is this true, and how much
On Thursday, 18 June 2015 at 02:01:33 UTC, Nick B wrote:
Yes I too would be interested on more background as to your
opinion, as why its 20 years ahead of everything else out there.
Natively compiled: Moore's law predicts that the burden in
advancements in computing speed will migrate into
On Wednesday, 17 June 2015 at 18:40:01 UTC, Laeeth Isharc wrote:
Any idea how far away it might be from being something that
someone could use in an enterprise environment simply, in the
same kind of way that vibed is easy? I appreciate that making
it broadly usable may not be what interests
On Wednesday, 17 June 2015 at 14:19:33 UTC, ketmar wrote:
this is an implementation detail. nothing guarantees that is
will stay like that even for one more commit. relying on this
means that your code is bugged and can break at any time,
without warning. more than that, if user pulled in
On Wednesday, 17 June 2015 at 16:16:09 UTC, berlin wrote:
well, read something to your world situation. take it from an
old kufr that dos not want to live under islamic law:
http://www.jihadwatch.org/
http://www.thereligionofpeace.com/
http://www.barenakedislam.com/
On Tuesday, 16 June 2015 at 22:21:28 UTC, Steven Schveighoffer
wrote:
If you want to manage memory from a GC'd object, you can use C
malloc and C free.
Or, you can write your own GC that solves this problem that
Sun/Oracle couldn't :)
In all seriousness, you could potentially have
On Wednesday, 17 June 2015 at 02:16:37 UTC, Andrei Alexandrescu
wrote:
Hello,
Martin has not replied to any communication for more than two
weeks now, and I'm starting to fear something might have
happened to him. If anyone in Berlin could get in touch with
him and let me/us know he's
On Tuesday, 16 June 2015 at 22:31:38 UTC, Etienne Cimon wrote:
Yeah, I'm going to make a personal branch and develop a GC
thread-local, and ensure memory/vtbl is left intact during
collection/finalization, it's a good experiment and I believe
it will be a way to solve the issue in the near
On 2015-06-14 08:35, Robert M. Münch wrote:
Hi, just to x-check if I have the correct understanding:
fibers = look parallel, are sequential = use 1 CPU core
threads = look parallel, are parallel = use several CPU cores
Is that right?
Yes, however nothing really guarantees
On Sunday, 14 June 2015 at 04:09:56 UTC, E.S. Quinn wrote:
I've got a project that, due to extensive use of LuaD
conversions, templates with a lot of parameters, and CTFE, has
managed to require 4gb of ram to compile. Which means that,
for the moment, I can't build on windows as the dmd
On Saturday, 13 June 2015 at 21:51:43 UTC, bitwise wrote:
I shouldn't have to add another version just for that last
dlopen block. It's not finegrained control, it's cruft.
Bit
It works with constants definition files.
On Saturday, 13 June 2015 at 19:48:07 UTC, \u2603 wrote:
pclmulqdq is an assembly instruction on Intel CPUs that has been
introduced together with the AES instructions. pclmulqdq
provides
multiplication on binary fields and is very usefull for
implementing fast and timing attack resistant
On 2015-06-04 21:12, Vladimir Panteleev wrote:
On Friday, 5 June 2015 at 01:07:28 UTC, Etienne wrote:
I mean come on here, I made a fatal error and my application is
overdue for crashing every thread and D is so broken that it adds a
deadlock on top of that, and you're telling me you'll feel
On Thursday, 4 June 2015 at 17:43:35 UTC, Adam D. Ruppe wrote:
If int 3 doesn't work for some reason btw, you could always
just deliberately write to a null pointer and trigger a
segfault in the overridden function, would have the same result
in the debugger.
I feel like this onError thing
On Thursday, 4 June 2015 at 17:58:34 UTC, Adam D. Ruppe wrote:
On Thursday, 4 June 2015 at 17:51:31 UTC, Etienne Cimon wrote:
I'm trying to rebuild gdb because this error is what I got:
wow that's messed up. Did you try it with dmd -gc too? Or a
non-debug version of the program entirely?
On Thursday, 4 June 2015 at 16:20:28 UTC, Adam D. Ruppe wrote:
On Thursday, 4 June 2015 at 16:12:54 UTC, Etienne Cimon wrote:
On another note, considering the unimaginable amount of bugs
that can stem from throwing in a constructor
Throwing from a constructor is kinda important as it is the
On another note, considering the unimaginable amount of bugs that
can stem from throwing in a constructor or destructor, I don't
see why D shouldn't just enforce a nothrow on them.
On Thursday, 4 June 2015 at 16:49:07 UTC, Adam D. Ruppe wrote:
On Thursday, 4 June 2015 at 16:32:39 UTC, Etienne Cimon wrote:
Wouldn't that be with `this() in { assert() }` ?
Not necessarily. Consider something like a file wrapper, if
fopen is null inside the ctor, you'd generally throw on
Well, I think the error is that the GC is not using the TLS
matching the corresponding object's destructors. Could this be
possible?
What you could do is calculate the average allocation size and std
deviantions in a moving window, and the z-score for each freelist and
use this lookup table:
https://www.stat.tamu.edu/~lzhou/stat302/standardnormaltable.pdf
If P 0.10 (maybe use this as a setting) this means the probability
On 2015-05-14 23:27, Andrei Alexandrescu wrote:
Also, I need two more good names: one for what's now called porcelain
- high-level typed interface for allocators, and one for best of
Beatles (not defined yet) - a module collecting a number of canned good
allocator designs by connecting together
On 2015-05-10 03:54, Baz wrote:
On Sunday, 10 May 2015 at 04:16:45 UTC, Etienne Cimon wrote:
On 2015-05-09 05:44, Baz wrote:
On Saturday, 9 May 2015 at 06:21:11 UTC, extrawurst wrote:
On Saturday, 9 May 2015 at 00:16:28 UTC, Etienne wrote:
I'm trying to compile a library that I think used to
On 2015-05-09 05:44, Baz wrote:
On Saturday, 9 May 2015 at 06:21:11 UTC, extrawurst wrote:
On Saturday, 9 May 2015 at 00:16:28 UTC, Etienne wrote:
I'm trying to compile a library that I think used to work with
-m32mscoff flag before I reset my machine configurations.
On 2015-03-02 16:50, Jamie wrote:
Hello all!
This is my first post on the forums. I'm interested in possibly creating
a refactoring tool for D for my MSc dissertation (I notice there is
currently no refactoring in D?). I wanted to ask if this is possible
with D's current state?
More
On 2015-02-18 11:41, Andrei Alexandrescu wrote:
I'd love to add libasync to Phobos! -- Andrei
Even as I add this as a dependency? : https://github.com/etcimon/memutils
Instead of a single ScopedFiberPool, I intend to have ScopedPools with
one stack in fiber, another in thread, and using the
On 2015-02-18 07:17, Jacob Carlborg wrote:
On 2015-02-18 02:14, Etienne Cimon wrote:
My favorite part is: vibe.d projects now compiles the entire software
stack into a
fully-featured standalone executable without any license issues.
Isn't libevent required?
Not anymore. I also wrote
On 2015-02-18 05:22, ketmar wrote:
On Wed, 18 Feb 2015 06:35:08 +, Joakim wrote:
accompanied by benchmarks of the C++ and D code
it's better to keep silence. dmd was never very good in optimising
code. ;-)
Not really, most of the sensitive code is optimized via native
instructions,
On 2015-02-18 01:35, Joakim wrote:
Good work. You should write up a post about the experience, perhaps
accompanied by benchmarks of the C++ and D code. It will help publicize
your project and let others learn from your effort.
Sure, if you can somehow push this in DMD:
On 2015-02-18 14:50, Andrei Alexandrescu wrote:
This is integration tactics that will need to be resolved. I don't see
them as showstoppers. -- Andrei
You're right it did sound like that. It was partly preference and partly
a need for the circular buffer to solve futures and promises
On 2015-02-17 19:11, ketmar wrote:
so you did it. great! so maybe vibe.d can drop that OpenSSL dependency
soon. ;-)
Apart from the debugging experience, there's something empowering about
having all the low-level stuff available in Mono-D when writing a website =)
Other than that, it's
On 2015-02-17 20:54, Rikki Cattermole wrote:
On 18/02/2015 10:00 a.m., Etienne wrote:
I'd like to announce the first release of Botan, which implements all
features of v1.11.10 in the C++ library.
I gave special attention to properly translating it to correct D code.
It only runs with DMD
On 2015-02-17 23:17, Rikki Cattermole wrote:
I saw that, I was worried about the license as well.
I'll ping Craig. Maybe there is still time for somebody to take it on
for GSOC?
One thing for sure, on this one the answer books are open. I'm glad I
chose Botan.
For HTTP/2 I'll probably use
This is the only issue preventing a truly thread-local GC for better
multi-core scalability for D applications. From:
https://github.com/D-Programming-Language/druntime/pull/1057#issuecomment-65904128
The best way to achieve a thread-local GC would be to improve and
enforce
Keep an eye on this one: Botan in D, https://github.com/etcimon/botan
Should be finished in a couple weeks.
e.g. from the TLS module:
auto hmac = get_mac(HMAC(SHA-256));
hmac.set_key(secret_key);
hmac.update_be(client_hello_bits.length);
hmac.update(client_hello_bits);
On 2014-11-28 15:15, Tobias Pankrath wrote:
Old project link is http://www.dsource.org/projects/xmlp
The launchpad and dsource repositories are dead for two years now.
Anyone using it?
Nope. I found kXML while searching for the same, it has everything I've
needed up to spec. I'm maintaining
On 2014-11-25 10:12, Nordlöw wrote:
Is there a way to (on the fly) reduce Pegged parse results such as
I've made an asn.1 parser using pegged tree map, it's not so complex and
does the reducing as well.
https://github.com/globecsys/asn1.d
Most of the meat is in asn1/generator/
In short,
On 2014-11-16 10:21, Xinok wrote:
How about immutable data which is implicitly shareable? Granted you can
destroy/free the data asynchronously, but you would still need to check
all threads for references to that data.
Immutable data would proxy through malloc and would not be scanned as it
On 2014-11-16 10:20, Sean Kelly wrote:
We'll have to change the way immutable is treated for allocations.
Which I think is a good thing. Just because something can be shared
doesn't meant that I intend to share it.
Exactly, I'm not sure how DMD currently handles immutable but it should
This GC model also seems to work fine for locally-allocated __gshared
objects. Since they're registered locally but available globally,
they'll be collected once the thread that created it is gone.
Also, when an object is cast(shared) before being sent to another
thread, it's usually still in
On 2014-11-16 19:32, Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com wrote:
Does the allocated object belong to a global database, a thread local
database or a fiber cache which is flushed automatically when moving to
a new thread? Or is it an extension of the fiber statespace that
On 2014-10-26 14:25, Etienne Cimon wrote:
On 2014-10-25 23:31, H. S. Teoh via Digitalmars-d-learn wrote:
Hmm. You can probably use __traits(getAllMembers...) to introspect a
library module at compile-time and build a hash based on that, so that
it's completely automated. If you have this
On 2014-10-29 15:38, dan wrote:
What IDE/EDITOR do you use for D? What plugins if you use Vim?
Mono-D. It has a light fast ui, auto-complete, and integrates
perfectly with dub and git
http://wiki.dlang.org/Mono-D
On 2014-10-29 18:12, Laeeth Isharc wrote:
Rationale for using Dart in combination with D is that I am not thrilled
about learning or writing in Javascript, yet one has to do processing on
the client in some language, and there seem very few viable alternatives
for that. It would be nice to run
1 - 100 of 135 matches
Mail list logo