Exactly. C++ support is of no interest at all, and GC is
something we contribute to, rather than something we expect
from the community.
Interestingly we don't even care much about libraries, we've
done everything ourselves.
So what do we care about? Mainly, we care about improving the
core
On Sunday, 14 December 2014 at 14:09:57 UTC, Joakim wrote:
As always, different tools for different uses. Hopefully, D
can one day be polished and mainstream enough for the
enterprise use case and it will be efficient enough to be
deployed at scale too. :)
when will that be? windows
On Sunday, 14 December 2014 at 15:56:20 UTC, Joakim wrote:
On Sunday, 14 December 2014 at 15:36:47 UTC, yawniek wrote:
On Sunday, 14 December 2014 at 14:09:57 UTC, Joakim wrote:
As always, different tools for different uses. Hopefully, D
can one day be polished and mainstream enough for the
On Monday, 28 July 2014 at 22:04:45 UTC, w0rp wrote:
On Sunday, 27 July 2014 at 16:32:15 UTC, Sönke Ludwig wrote:
Am 27.07.2014 00:54, schrieb w0rp:
You can see some running examples on the site now.
http://w0rp.com:8010/library/std.parallelism/
cool stuff, congrats on the progress, i
On Friday, 13 March 2015 at 13:18:03 UTC, Dicebot wrote:
In my opinion it is better to focus on tempting users with D
strong bits than oversell it by trying it compete in topics it
has inherent disadvantage. There is not point in try to compete
with Go on topic of simplicity - they have
On Wednesday, 19 August 2015 at 20:15:48 UTC, qznc wrote:
On Thursday, 25 June 2015 at 12:39:11 UTC, qznc wrote:
If you are interested in my slides:
http://beza1e1.tuxen.de/stuff/FunctionalD.odp
http://beza1e1.tuxen.de/stuff/FunctionalD.pdf
I spent some time on D history and philosophy. Mostly
On Wednesday, 29 July 2015 at 14:17:34 UTC, Sebastiaan Koppe
wrote:
On Wednesday, 29 July 2015 at 07:30:50 UTC, yawniek wrote:
In times of reactive frameworks it makes no sense anymore to
render html in the backend.
Nowadays with the many client-side dom manipulations it is
tempting to just
On Monday, 27 July 2015 at 06:10:29 UTC, Sebastiaan Koppe wrote:
For instance, for rendering pages I would rather front the D
backend with some (stateless) node app that fetches the data
from the D backend and uses something like React to render
server/client side. If the D backend could
On Wednesday, 29 July 2015 at 09:22:44 UTC, Ola Fosheim Grøstad
wrote:
On Wednesday, 29 July 2015 at 07:30:50 UTC, yawniek wrote:
in my opinion also the REST style apis will come to an end as
we can easily have
stateless apis these days ( 86.62%of browsers have websockets
already according to
On Sunday, 2 August 2015 at 16:25:18 UTC, Yura wrote:
While it is easy to code in Python there are two things I do
not like:
1) Python is slow for nested loops (much slower comparing to C)
2) Python is not compiled. However, I want to work with a code
which can be compiled and distributed as
On Tuesday, 21 July 2015 at 13:17:36 UTC, Andrei Alexandrescu
wrote:
At the first D meetup in the Silicon Valley, Vic (an
accomplished entrepreneur who has been following up D'd path)
discussed some ideas for improving D's adoption. He mentioned
some other languages have improved adoption by
i currently use vibe.d in a couple of productive apps.
i think it really shines when it comes to low latency, traffic
heavy backend/api services.
its true that the ORM is missing and multi-thread scaling is not
very good.
but after some tuning i am very happy with single core
performance.
i have seen many PR's and also Forum entries that deal with the
problem of newer features of the compiler not being able and then
patching or working around that to support older compiler
versions.
since it is really easy to keep up with compiler versions and
even switch
(and not many
On Tuesday, 3 November 2015 at 08:22:37 UTC, Johannes Pfau wrote:
I guess it's to be compatible with the latest DMD, LDC and GDC.
GDC currently only provides the 2.066.1 frontend.
this makes sense.
unfortunately often it happens that i pull in one or the other
library that just happens not
https://hacks.mozilla.org/2015/12/compiling-to-webassembly-its-happening/
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 significantly
faster than Go, and we also know that its JSON
On Thursday, 31 December 2015 at 12:09:30 UTC, Etienne Cimon
wrote:
On Thursday, 31 December 2015 at 08:51:31 UTC, yawniek wrote:
the libasync problem seem seems to be because of TCP_NODELAY
not being deactivated for local connection.
That would be the other way around. TCP_NODELAY is not
On Thursday, 31 December 2015 at 15:35:45 UTC, Ola Fosheim
Grøstad wrote:
I don't know how the benchmarks are set up, but I would assume
that they don't use a local socket. I wonder if they run the
database on the same machine, maybe they do, but that's not
realistic, so they really should
On Wednesday, 30 December 2015 at 20:38:58 UTC, Daniel Kozak
wrote:
V Wed, 30 Dec 2015 20:32:08 +
yawniek via Digitalmars-d <digitalmars-d@puremagic.com> napsáno:
Which async library you use for vibed? libevent? libev? or
libasync? Which compilation switches you used?
Without thi
Sönke is already on it.
http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/post/29110
i guess its not enough, there are still things that make vibe.d
slow.
i quickly tried
https://github.com/nanoant/WebFrameworkBenchmark.git
which is really a very simple benchmark but it shows
would anyone be interested in doing the work for adding D /
vibe.d to
https://github.com/grpc/grpc ?
we currently lack the manpower but would be able to sponsor it
(or parts, depending on the effort needed).
grpc is probably going to be the dominant rpc system for building
a microsrvices
On Tuesday, 7 June 2016 at 11:22:55 UTC, Basile B. wrote:
On Tuesday, 7 June 2016 at 10:24:56 UTC, WebFreak001 wrote:
On Tuesday, 7 June 2016 at 02:11:55 UTC, Basile B. wrote:
I had to make a custom format because
SDL would have the same problem as JSON. I need to store the
type, so key =
On Friday, 10 June 2016 at 22:01:53 UTC, Walter Bright wrote:
On 6/10/2016 3:55 AM, Chris wrote:
> Cool. I'd love to see `DScript` one day - and replace JS once
and for all ...
> well ... just day dreaming ...
Dreams are reality:
https://github.com/DigitalMars/DMDScript
unfortunately this is
On Tuesday, 14 June 2016 at 01:36:48 UTC, Yuxuan Shui wrote:
On Tuesday, 14 June 2016 at 00:55:52 UTC, Walter Bright wrote:
On 6/13/2016 5:13 PM, H. S. Teoh via Digitalmars-d wrote:
My *real* dream is for D (or some suitable subset thereof) to
replace
Javascript in browsers. But that's a very
On Tuesday, 21 June 2016 at 16:26:14 UTC, Satoshi wrote:
On Monday, 20 June 2016 at 11:28:58 UTC, Antonio Corbi wrote:
Hi folks!
I'm using ldc version:
LDC - the LLVM D compiler (1.0.0):
based on DMD v2.070.2 and LLVM 3.8.0
built with DMD64 D Compiler v2.071.0
Default target:
i really like the new design, congratulations!
the only thing missing is proper code formatting with highlighting
On Thursday, 2 June 2016 at 13:59:13 UTC, Seb wrote:
[1] Overview: http://dlang.org/overview.html
[2] Preview:
http://dtest.thecybershadow.net/artifact/website-915b9bd5028d67e186487141083523937b417cd7-32649b6cb8d58891a4c66946a8f75141/web/areas-of-d-usage.html
[3] PR:
On Wednesday, 3 February 2016 at 18:36:35 UTC, Andrei
Alexandrescu wrote:
On 02/03/2016 02:06 AM, cym13 wrote:
It's all true, D rose up 6 positions:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
I don't quite know what the leading factor for that change was
but it
sure
via HN:
http://dorinlazar.ro/why-c-sucks-2016-02-edition/
On Wednesday, 17 February 2016 at 07:15:01 UTC, Steven
Schveighoffer wrote:
On 2/17/16 1:58 AM, Rikki Cattermole wrote:
What would be the benefit of having it an input range by
default?
-Steve
https://en.wikipedia.org/wiki/Principle_of_least_astonishment
something the D community is lacking
On Friday, 6 May 2016 at 09:21:43 UTC, Andrei Alexandrescu wrote:
On 5/6/16 10:32 AM, Robert burner Schadek wrote:
As discussed yesterday at DConf, curl in phobos must go.
The plan is as follows.
1. undocument everything curl related in may 2016
2. deprecate everything curl related in may
On Saturday, 7 May 2016 at 09:46:36 UTC, ikod wrote:
What do you mean under re-licensing?
you added GPL to requests, this is incompatible with phobos and
your code can not be included. could it be changed to boost
licence?
On Sunday, 26 June 2016 at 23:06:02 UTC, Jadbox wrote:
Is there an AWS library in the works for D? It's seriously the
main blocker for me to push adoption of the language internally.
If not, I can try to invest time into making one, but I could
use help.
(fyi, there's one in the works for
in how far would it be possible to integrate and statically link
rust libraries within dub projects?
this could give a huge boost to the library ecosystem if it would
be as easy (or easier) as statically linking against other .a
files.
On Friday, 30 September 2016 at 09:41:55 UTC, Chris wrote:
On Thursday, 29 September 2016 at 21:32:03 UTC, cym13 wrote:
It's not as if it were the only json library though, asdf for
example isn't linked to any web framework
https://github.com/tamediadigital/asdf
I like the name `asdf`
On Monday, 19 December 2016 at 05:59:07 UTC, Ilya Yaroshenko
wrote:
D - ??? awesome what ? What do we have better then Scala?
Performance? NO.
BRandomAccessRanges makes our performance less then C/C++.
Clean and clever API in standard library? NO.
We are placing our Range API whenever possible
On Tuesday, 8 August 2017 at 08:49:33 UTC, Andre Pany wrote:
On Monday, 7 August 2017 at 22:46:57 UTC, aberba wrote:
vibe-s3 (https://code.dlang.org/packages/vibe-s3) is an Amazon
s3 object storage API for D.
Has anyone here used or tested it? What was your experiences?
It has the tagline
On Monday, 14 August 2017 at 19:07:07 UTC, aberba wrote:
On Sunday, 13 August 2017 at 21:38:37 UTC, yawniek wrote:
On Tuesday, 8 August 2017 at 08:49:33 UTC, Andre Pany wrote:
[...]
the original goal of vibe-s3 was to allow streaming uploads of
large files so that no memory/disk needs to be
On Thursday, 6 July 2017 at 07:27:24 UTC, Marek wrote:
https://www.techempower.com/benchmarks/#section=data-r14=ph=plaintext
C++, Java and Go frameworks have very high performance. Vibe.d
is supposed to have similar performance, but in fact vibe.d
performance is very low. Why?
these tests
On Monday, 12 June 2017 at 18:12:38 UTC, Timothee Cour wrote:
any help on this would be most welcome:
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16
Unfortunately I find the RPC support in D lacking. Having a
good RPC integration for D is key for production use of D where
one wants
On Friday, 19 January 2018 at 18:34:31 UTC, Ali Çehreli wrote:
On 01/19/2018 02:14 AM, yawniek wrote:
Could you please summarize what needs to be done and in what
order. I would be happy to take active part in this effort.
well, my personal opinion this should be designed/decided on a
green
On Monday, 15 January 2018 at 19:28:08 UTC, Ali Çehreli wrote:
I know a project where D could benefit from gRPC in D, which is
not among the supported languages:
https://grpc.io/docs/
Do you think gRPC support is worth adding to GSOC 2018 ideas?
https://wiki.dlang.org/GSOC_2018_Ideas
interesting idea:
http://www.red-lang.org/2017/12/leaping-into-future-red-goes-blockchain.html
is there any tooling or tutorials on how one would approach a
(partial) rewrite for bigger C projects that use e.g. cmake ?
is there a way parts of it could be automated (if so which parts)
?
this might help D a lot if people that want to learn/rewrite a
library would get support and
On Saturday, 24 February 2018 at 10:03:07 UTC, Joakim wrote:
I've updated ldc master to use Yuxuan's druntime port, which
means the upcoming ldc 1.8 release will likely be a viable
Alpine/Musl cross-compiler out of the box, provided you give it
a C/Musl cross-compiler/linker to work with, by
On Friday, 28 September 2018 at 16:39:14 UTC, Márcio Martins
wrote:
Hi y'all!
If you'd be so kind and help me out here with a few
questions/opinions:
I would like to generate decent D bindings for
https://github.com/libuv/libuv with as little pain as possible.
What are you guys using
On Monday, 6 October 2014 at 17:11:51 UTC, ANtlord wrote:
Good day! I recenlty have tried create typical project on
vibe.d. The web framework is not bad. And I can say, that it is
better that something another web frameworks. But I have met a
problem. I can't find search engine.
I use xapian
i found two snippets from the functional docs that do not work
(anymore?)
http://dlang.org/phobos/std_functional.html
assert(compose!(map!(to!(int)), split)(1 2 3) == [1, 2, 3]);
and
int[] a = pipe!(readText, split, map!(to!(int)))(file.txt);
throwing a std.array.array into the mix works
hi,
i'm trying to get a thrift example working within a dub project.
it seems that the thrift.d in the dub repo is not whats actually
needed but
i should link against libthriftd.a that comes from the official
thrift distro.
what i tried is add the following to dub.json:
libs:
got it to work by using the thrift code from the fbthrift repo
(minus the tests).
On Thursday, 7 May 2015 at 18:59:13 UTC, Suliman wrote:
1. Do I need write ./public/ ? In examples often simply
public/
will work too. even public
it goes trough Path struct, see:
https://github.com/rejectedsoftware/vibe.d/blob/11578aa956a9b3b0e305d655f9668a867fdd89bd/source/vibe/inet/path.d
On Thursday, 7 May 2015 at 18:59:13 UTC, Suliman wrote:
shared static this()
{
auto router = new URLRouter;
router.get(/, root);
auto settings = new HTTPServerSettings;
settings.port = 8080;
listenHTTP(settings, router);
}
void root(HTTPServerRequest req,
On Thursday, 4 June 2015 at 14:46:39 UTC, Dicebot wrote:
gdc
- now uses 5.1 gcc base and 2.066.1 frontend
- patched to correctly use system zlib library (resulted in
linker errors before)
dtools
- switched back to use dmd as default compiler
dub
- switched back to use dmd
On Thursday, 28 May 2015 at 10:11:38 UTC, zhmt wrote:
On Thursday, 28 May 2015 at 02:00:57 UTC, zhmt wrote:
the throughput is steady now: if buffer size is set to 1,
throughput is about 20K response/second; when buffer size is
big enough ,the throughput is about 60K response/second.
On Monday, 17 August 2015 at 13:04:31 UTC, tired_eyes wrote:
On Monday, 17 August 2015 at 12:58:54 UTC, Adam D. Ruppe wrote:
On Monday, 17 August 2015 at 12:52:37 UTC, tired_eyes wrote:
Hovewer, dmd app.d spits a whole bunch of strange error
messages:
try dmd -lcurl app.d and see if that
On Wednesday, 19 August 2015 at 07:57:17 UTC, Daniel Kozák wrote:
V Tue, 18 Aug 2015 17:57:31 -0700
Ali Çehreli via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com napsáno:
Ali
Sometimes I hate I am from Czech Republic. I must wait whole
week until this awesome book will be
On Friday, 21 August 2015 at 21:08:25 UTC, Laeeth Isharc wrote:
I guess this kind of thing will do:
upRangeHighs.each!((ref a)=(++histogram[a][0]));
int[] arr = [5,1,2,2,3,4,5,5,5];
int[int] histo;
arr.each!( a = ++histo[a] );
writeln(histo);
this works
On Wednesday, 29 July 2015 at 17:59:26 UTC, Kyoji Klyden wrote:
How would I use a C function that's returning a struct? auto
doesn't work here, and from what I can tell D can't import C
headers. (If it really can't then, that would be a very welcome
feature)
I do have the required libs but I
On Wednesday, 29 July 2015 at 16:36:41 UTC, Atila Neves wrote:
LDC:
Cerealed: 970 ms, 482 μs, and 6 hnsecs
MsgPack: 896 ms, 591 μs, and 2 hnsecs
Not too shabby!
Atila
cool.
what are the advantages of cereald over msgpack?
can you stream in packets with cereald too?
cool thing about
hi,
unpacking files is kinda slow, probably i'm doing something wrong.
below code is about half the speed of gnu zcat on my os x machine.
why?
why do i need to .dup the buffer?
can i get rid of the casts?
the chunk size has only a marginal influence.
https://github.com/yannick/zcatd
import
On Friday, 7 August 2015 at 08:50:11 UTC, Daniel Kozák wrote:
ldc[2] -O -release -boundscheck=off -singleobj app.d
ldc 0.15.2 beta2
2.86s user 0.55s system 77% cpu 4.392 total
v2.068-devel-8f81ffc
2.86s user 0.67s system 78% cpu 4.476 total
v2.067
2.88s user 0.67s system 78% cpu 4.529
On Friday, 7 August 2015 at 07:29:15 UTC, Daniel Kozák wrote:
Which compiler and version. There has been some performance
problem with IO on OSX, it should be fixed in 2.068 release
i'm on master. v2.068-devel-8f81ffc
also changed file read mode to rb.
i don't understand why the program
On Friday, 7 August 2015 at 07:43:25 UTC, Daniel Kozák wrote:
i don't understand why the program crashes when i do not do
the .dup
This is weird. I would say it should not crash
exactely. but try it yourself.
the fastest version i could come up so far is below.
std.conv slows it down.
going
On Friday, 7 August 2015 at 07:48:25 UTC, yawniek wrote:
On Friday, 7 August 2015 at 07:43:25 UTC, Daniel Kozák wrote:
the fastest version i could come up so far is below.
std.conv slows it down.
going from a 4kb to a 4mb buffer helped. now i'm within 30% of
gzcat's performance.
ok maybe not,
On Friday, 7 August 2015 at 08:05:01 UTC, Daniel Kozák wrote:
import
std.zlib,
std.file,
std.stdio,
std.conv;
void main(string[] args)
{
auto f = File(args[1], rb);
auto uncompressor = new UnCompress(HeaderFormat.gzip);
foreach (buffer; f.byChunk(4096))
{
auto
On Friday, 7 August 2015 at 08:24:11 UTC, Daniel Kozák wrote:
can you try it with ldc?
ldc[2] -O -release -boundscheck=off -singleobj app.d
ldc 0.15.2 beta2
2.86s user 0.55s system 77% cpu 4.392 total
v2.068-devel-8f81ffc
2.86s user 0.67s system 78% cpu 4.476 total
v2.067
2.88s user
On Friday, 7 August 2015 at 11:45:00 UTC, Daniel Kozak wrote:
On Friday, 7 August 2015 at 09:12:32 UTC, yawniek wrote:
[...]
Can you try it without write operation (comment out all write)?
And than try it without uncompression?
// without compression:
void main(string[] args)
{
auto f
i'm trying to have my own versions of my dependencies as git
submodules.
problem:
i include a local version of vibe.d and then i add other local
versions of
packages that themselves include vibe.d
somehow my version of vibe isn't picked up by the other
dependencies and it results in an
On Friday, 14 August 2015 at 08:09:18 UTC, Edwin van Leeuwen
wrote:
On Friday, 14 August 2015 at 08:06:15 UTC, yawniek wrote:
dub add-local allows you to add local copy of a package. This
will be system wide though, not only for the current package.
i actually tried this, somehow did't work
is there a reason the trace log is a bit weirdly formatted?
a) different tables within one file
b) column separation is something like (fill with space until it
exceeds 7 digits
could this be improved to use a standard format (e.g. tsv) or are
there some legacy reasons?
also it would be
i tried to automagically create bindings for librdkafka
(https://github.com/edenhill/librdkafka)
with dstep.
now the code contains typedefs structs with the same name as
methods:
```
typedef struct rd_kafka_metadata {
int broker_cnt; /* Number of brokers in
'brokers' */
On Tuesday, 21 July 2015 at 06:12:53 UTC, Jacob Carlborg wrote:
what the correct way to bind these?
Please report an issue for this. In this case
rd_kafka_metadata_t should be used for the struct name.
done, https://github.com/jacob-carlborg/dstep/issues/40
i was under the impression that
whats the proper way to use/wrap C functions that expect a error
string buffer
e.g.:
somefun(T param1, char* errstr, size_t errstr_size)
in D ?
On Wednesday, 4 November 2015 at 07:41:34 UTC, Sönke Ludwig wrote:
http://vibed.org/blog/posts/vibe-release-0.7.26
congrats and thanks!
its exciting to see vibe moving so fast
On Wednesday, 4 November 2015 at 09:30:30 UTC, Andrei
Alexandrescu wrote:
Reply to this with 1.1, 1.2, 2, or 3:
1) by ponce:
Variant 1:
https://github.com/p0nce/dconf.org/blob/master/2016/images/logo-sample.png
Variant 2:
hi,
i'm reading in a stream of data that is deserialized into
individual frames.
a frame is either of:
a) a specific D datastructure ( struct with a few
ulong,string,string[string] etc members), known at compile time
b) json (preferably stdx.data.json)
i now want to implement something
many thanks for the valuable insights.
so far i made a simple prototype with LuaD and classes, works
nicely for when my niput
what so far is not 100% clear is if there is a way to have a
parsed
msgpack or json documents being exposed in my lua code in a way
so it behaves
like a lua object.
can someone explain a bit how the @before hooks works in detail,
i mainly have problems understanding why ensureAuth in belows
example refers to
SampleService. as an instance:
On Saturday, 3 October 2015 at 03:11:06 UTC, holo wrote:
Hello
I'm trying to contact AWS API with D according to documentation:
[...]
check https://github.com/yannick/vibe-aws
it has v4 implemented
On Friday, 18 September 2015 at 09:42:05 UTC, smadus wrote:
Ok i have rewrite :)
Now:
http://dpaste.dzfl.pl/cf8bb54b1390
The Problem is:
http://www.directupload.net/file/d/4114/9zryku49_png.htm
but i dont understand this, because, the exception should be
"Something wrong" ?!?
But, thanks
On Monday, 4 January 2016 at 19:04:48 UTC, Max Klyga wrote:
On 2016-01-04 18:40:03 +, Jason Jeffory said:
The fastest one would probably be Lua -
http://code.dlang.org/search?q=lua
But there are other options:
Python - http://code.dlang.org/packages/pyd
Javascript -
On Thursday, 31 December 2015 at 08:51:42 UTC, Daniel Kozak wrote:
I try to build vibe-d Hello world app with dub, but I have many
problems with dub, nothing works at all
Error: Output file 'client.o' for module 'vibe.http.client'
collides with previous module 'vibe.db.mongo.client'. See the
hi!
how can i format a string with captures from a regular
expression?
basically make this pass:
https://gist.github.com/f17647fb2f8ff2261d42
context: i'm trying to write a implementation for
https://github.com/ua-parser
where the regular expression as well as the format strings are
regex from
https://github.com/ua-parser/uap-core/blob/master/regexes.yaml#L38
seems to work in other languages, not so in D:
auto r2 = r"(?:\/[A-Za-z0-9\.]+)? *([A-Za-z0-9
_\!\[\]:]*(?:[Aa]rchiver|[Ii]ndexer|[Ss]craper|[Bb]ot|[Ss]pider|[Cc]rawl[a-z]*)) (\d+)(?:\.(\d+)(?:\.(\d+))?)?".regex();
Hi Rikki,
On Monday, 23 November 2015 at 03:57:06 UTC, Rikki Cattermole
wrote:
I take it that browscap[0] does it not do what you want?
I have an generator at [1].
Feel free to steal.
This looks interesting, thanks for the hint. However it might be
a bit limited,
i have 15M+ different User
i'm trying to build the docs as per
http://wiki.dlang.org/Building_DMD#Building_the_Docs
i have a working setup to build the latest dmd/druntime/phobos
but somehow the makefile tries to download an old dmd version and
my bandwith currently is a bit restricted and i want an offline
version.
my C library works a lot with strings defined in C as:
struct vec_t {
char *base;
size_t len;
}
is there a easy way to feed regular D strings to functions that
accept vec_t*
without creating a vec_t every time
or do i write wrappers for these functions and if so, what is the
most
On Friday, 27 May 2016 at 16:47:19 UTC, Daniel Kozak wrote:
Why not to use distribute oprion?
Dne 27. 5. 2016 17:35 napsal uživatel "yawniek via
Digitalmars-d-learn" <
digitalmars-d-learn@puremagic.com>:
it its a flawed strategy.
what you should do is let the kernel handl
On Saturday, 11 June 2016 at 10:26:17 UTC, Mike Parker wrote:
On Saturday, 11 June 2016 at 09:32:54 UTC, yawniek wrote:
thanks mike for the in depth answer.
i forgot to add a few important points:
- the strings in vec_t are not c strings
- vec_t might contain other data than strings
the
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
Hi guys,
In my journey of learning about D I tried to benchmark D with
Vibe.d vs node with express and Ruby with Sinatra.
And the results are pretty surprising.
I have to admit that I though D was more faster than that. How
is this even
On Thursday, 16 June 2016 at 19:04:38 UTC, bachmeier wrote:
On Thursday, 16 June 2016 at 12:23:09 UTC, fbmac wrote:
How people use it on Linux, if htod is required to import C
libraries and windows only?f
Just to clarify, so as to prevent confusion by someone that
randomly stumbles across
On Wednesday, 27 January 2016 at 23:42:54 UTC, brian wrote:
Anyone able to shed some light on what the structure of the
response is, and how I can read/output it all?
Regards
Brian
its unlikely that vibe client misses something.
for debugging i would try to go trough all requests with curl
On Saturday, 20 February 2016 at 13:09:53 UTC, Andrew Edwards
wrote:
I'm searching for client drivers for the following databases.
Are the any available?
https://rethinkdb.com/docs/install-drivers/
http://docs.basho.com/riak/latest/dev/references/client-implementation/
Thanks,
Andrew
none
i figured i can count the number of bits set for a BitArray with
std.algorithm : count:
BitArray([0,0,1]).bitsSet.count()
but this seems not very optimal, is there a faster way directly
accessible trough phobos?
ideally something that is optimized by the compiler.
On Thursday, 7 April 2016 at 08:03:34 UTC, Edwin van Leeuwen
wrote:
You can try this library:
https://code.dlang.org/packages/dateparser
nope this will not work and the question is broader:
i want to have a standard datatype parsed in a specific way and
so that i can
use other std library
On Thursday, 7 April 2016 at 13:40:17 UTC, Rene Zwanenburg wrote:
On Thursday, 7 April 2016 at 13:25:29 UTC, Jerry wrote:
I generated a visuald project and tried that. Now suddenly it
is working as expected. So I guess it's a bug in dub.
That's possible of course, but I'd expect something so
On Thursday, 7 April 2016 at 18:29:19 UTC, Jonathan M Davis wrote:
On Thursday, April 07, 2016 07:45:06 yawniek via
Digitalmars-d-learn wrote:
So, while I understand your frustration, I just don't see any
other sane way to approach this problem than what you've done.
Putting it all
what is the way one is supposed to parse e.g. a
double of unixtime (as delived by nginx logs) into a SysTime?
currently i'm creating a wrapper struct around SysTime with alias
this as:
https://gist.github.com/yannick/6caf5a5184beea0c24f35d9d4a4c7783
really ugly imho.
is there a better way
On Monday, 11 April 2016 at 09:08:34 UTC, André wrote:
On Sunday, 10 April 2016 at 10:51:38 UTC, yawniek wrote:
we pushed 2 new projects:
a native kafka driver to work with the vibe.d eventloop
http://code.dlang.org/packages/kafka-d
it's not full featured yet (no zookeeper) but the basic use
On Tuesday, 1 March 2016 at 09:32:20 UTC, Andrea Fontana wrote:
Maybe you should look for "hamming weight" :)
maybe. and here is a snowman for you: ☃
the question was if it exists for BitArray in phobos.
https://issues.dlang.org/show_bug.cgi?id=10239 so apparently its
really missing in
1 - 100 of 118 matches
Mail list logo