Am Tue, 15 Apr 2014 22:38:48 +
schrieb Jeroen Bollen jbin...@gmail.com:
Does anyone know of any (preferably complete) XCB bindings for D?
2 of the 2 people I know who looked into this decided that D
bindings for C bindings for X is a silly exercise, since these
C bindings are 95% generated
Am Thu, 17 Apr 2014 06:19:56 +
schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
On Wednesday, 16 April 2014 at 23:14:27 UTC, Walter Bright wrote:
On 4/16/2014 3:45 PM, Ola Fosheim Grøstad I've written
several myself that do not use malloc.
If it is shared or can call
Am Wed, 16 Apr 2014 20:32:20 +
schrieb Peter Alexander peter.alexander...@gmail.com:
On Wednesday, 16 April 2014 at 20:29:17 UTC, bearophile wrote:
Peter Alexander:
(I assume that nothrow isn't meant to be there?)
In D nothrow functions can throw errors.
Of course, ignore me :-)
Am Sun, 20 Apr 2014 08:19:45 +
schrieb monarch_dodra monarchdo...@gmail.com:
D static initialization doesn't work the same way. Everything is
initialized as the program is loaded, […]
Ah ok, it's all good then :)
Also, just doing this is good enough:
//
void foo() @nogc
{
Am Wed, 23 Apr 2014 21:23:17 +0400
schrieb Dmitry Olshansky dmitry.o...@gmail.com:
23-Apr-2014 20:56, Daniel Murphy пишет:
Dmitry Olshansky wrote in message
news:lj7mrr$1p5s$1...@digitalmars.com...
At a times I really don't know why can't we just drop in a Boehm GC
(the stock one, not
Am Wed, 23 Apr 2014 18:35:25 +
schrieb Messenger d...@shoot.me:
What is the state of Rainer Schütze's precise gc? Duplication of
effort and all that.
+1. And I hope you know what you are up to :D. Some people
may expect a magic pill to emerge from your efforts that makes
the GC approx. as
Am Tue, 22 Apr 2014 20:47:13 +1000
schrieb Manu via Digitalmars-d digitalmars-d@puremagic.com:
On 22 April 2014 19:00, Walter Bright via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On 4/21/2014 10:49 PM, Manu via Digitalmars-d wrote:
I like gmail. I've been using it for the better
Am Tue, 22 Apr 2014 18:07:21 +1000
schrieb Manu via Digitalmars-d digitalmars-d@puremagic.com:
extern (C) void func(const(char)* pString);
By the way: What about adding nothrow there?
--
Marco
Am Tue, 21 Jan 2014 04:34:56 +
schrieb Brian Schott briancsch...@gmail.com:
There's a small feature wishlist in the project's README, but I'd
like to get some opinions from the newsgroup: What kinds of
errors have you seen in your code that you think a static
analysis tool could help
Am Wed, 23 Apr 2014 22:56:27 -0400
schrieb Steven Schveighoffer schvei...@yahoo.com:
On Wed, 23 Apr 2014 22:56:54 -0400, Marco Leise marco.le...@gmx.de wrote:
Am Tue, 21 Jan 2014 04:34:56 +
schrieb Brian Schott briancsch...@gmail.com:
There's a small feature wishlist in the
Am Thu, 24 Apr 2014 13:11:18 +0200
schrieb Artur Skawina via Digitalmars-d
digitalmars-d@puremagic.com:
`size_t x = 1 shiftAmount` is definitely not something that
should be recommended, see above. Just use the correct type on
the lhs of shift operators.
auto x = cast(size_t) 1 shiftAmount;
Am Thu, 24 Apr 2014 10:26:48 -0400
schrieb Steven Schveighoffer schvei...@yahoo.com:
On Wed, 23 Apr 2014 23:15:01 -0400, Marco Leise marco.le...@gmx.de wrote:
Am Wed, 23 Apr 2014 22:56:27 -0400
schrieb Steven Schveighoffer schvei...@yahoo.com:
On Wed, 23 Apr 2014 22:56:54 -0400, Marco
Am Sun, 27 Apr 2014 00:08:17 -0700
schrieb Walter Bright newshou...@digitalmars.com:
On 4/26/2014 11:22 PM, Daniel Murphy wrote:
I am NOT suggesting module name and namespace mangling should be tied
together.
Use D modules for symbol organisation, and add a simple feature for
Am Wed, 30 Apr 2014 19:10:04 +
schrieb Orvid King blah38...@gmail.com:
Just thought of a minor addition to the guidelines.
While discussion of the naming of the public API should occur on
the newsgroup, discussion of the names of locals, or non-public
APIs should occur on Github.
Am Wed, 30 Apr 2014 08:33:25 -0700
schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org:
I'm mulling over a couple of design considerations for allocators, and
was thinking of the following restriction:
1. No out-of-bounds tricks and no pointer arithmetic. Consider:
int[] a = new
Am Thu, 01 May 2014 08:01:43 -0700
schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org:
On 5/1/14, 3:36 AM, Temtaime wrote:
Hi Andrey. Have you even test your allocator on different arch(32/64)
and/or with different compiler flags ?
Thanks, I'll look into that! -- Andrei
If size_t
Am Sun, 27 Apr 2014 09:01:58 -0700
schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org:
On 4/27/14, 7:51 AM, bearophile wrote:
Andrei Alexandrescu:
Destruction is as always welcome. I plan to get into tracing tomorrow
morning.
How easy is to implement a OS-portable
Am Sun, 04 May 2014 21:05:01 -0700
schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org:
I've decided that runtime-chosen page sizes are too much of a
complication for the benefits.
Alright. Note however, that on Windows the allocation
granularity is larger than the page size (64 KiB).
Am Mon, 5 May 2014 09:39:30 -0700
schrieb H. S. Teoh via Digitalmars-d
digitalmars-d@puremagic.com:
On Mon, May 05, 2014 at 03:55:12PM +, bearophile via Digitalmars-d wrote:
Andrei Alexandrescu:
I think the needs to support BigInt argument is not a blocker - we
can release
Am Mon, 05 May 2014 11:23:58 -0700
schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org:
On 5/5/14, 9:57 AM, Marco Leise wrote:
That sounds like a more complicated topic than anything I had
in mind. I think a »std.virtualmemory« module should already
implement all the primitives in a
Am Mon, 05 May 2014 17:24:38 +
schrieb Dicebot pub...@dicebot.lv:
That experimental package idea that was discussed months ago
comes to my mind again. Add that thing as exp.rational and
have people report bugs or shortcomings to the original
author. When it seems to be usable by
Am Mon, 05 May 2014 21:13:10 +0400
schrieb Dmitry Olshansky dmitry.o...@gmail.com:
05-May-2014 20:57, Marco Leise пишет:
That sounds like a more complicated topic than anything I had
in mind. I think a »std.virtualmemory« module should already
implement all the primitives in a portable
Am Tue, 06 May 2014 22:55:37 +0400
schrieb Dmitry Olshansky dmitry.o...@gmail.com:
06-May-2014 10:20, Marco Leise пишет:
Am Mon, 05 May 2014 21:13:10 +0400
schrieb Dmitry Olshansky dmitry.o...@gmail.com:
I had an idea of core.vmm. It didn't survive the last review though,
plus I never
Am Sun, 11 May 2014 14:52:50 +1000
schrieb Manu via Digitalmars-d digitalmars-d@puremagic.com:
On 11 May 2014 05:39, H. S. Teoh via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Sat, May 10, 2014 at 09:16:54PM +0200, Xavier Bigand via Digitalmars-d
wrote:
- Same question if D
Am Wed, 07 May 2014 06:50:33 +
schrieb Paulo Pinto pj...@progtools.org:
A *nix package manager is brain dead idea for software
development as it ties the language libraries to the specific OS
one is using.
What do you have in mind here? I don't quite get the picture.
Are you opposed to a
Am Mon, 12 May 2014 03:36:34 +1000
schrieb Manu via Digitalmars-d digitalmars-d@puremagic.com:
On 12 May 2014 02:38, Marco Leise via Digitalmars-d
digitalmars-d@puremagic.com wrote:
Am Sun, 11 May 2014 14:52:50 +1000
schrieb Manu via Digitalmars-d digitalmars-d@puremagic.com:
On 11 May
Am Sun, 11 May 2014 14:41:10 -0700
schrieb Walter Bright newshou...@digitalmars.com:
Your proposal still relies on a GC to provide the memory safety,
[…] it is a hybrid ARC/GC system.
But I thought ARC cannot be designed without GC to resolve
cycles. Or is your comment pure rethoric?
--
Am Sun, 11 May 2014 17:50:25 -0700
schrieb Walter Bright newshou...@digitalmars.com:
As long as those pointers don't escape. Am I right in that one cannot store a
borrowed pointer into a global data structure?
Right, and that's the point and entirely positive-to-do™.
Your general purpose
Am Sun, 11 May 2014 22:11:28 -0700
schrieb Walter Bright newshou...@digitalmars.com:
But I thought ARC cannot be designed without GC to resolve
cycles.
It can be, there are various schemes to deal with that, including don't
create
cycles. GC is just one of them.
Am Mon, 12 May 2014 01:54:58 -0700
schrieb Walter Bright newshou...@digitalmars.com:
On 5/11/2014 10:57 PM, Marco Leise wrote:
Am Sun, 11 May 2014 17:50:25 -0700
schrieb Walter Bright newshou...@digitalmars.com:
As long as those pointers don't escape. Am I right in that one cannot
Am Mon, 12 May 2014 09:32:58 +
schrieb Paulo Pinto pj...@progtools.org:
On Monday, 12 May 2014 at 09:05:39 UTC, John Colvin wrote:
On Monday, 12 May 2014 at 08:45:56 UTC, Walter Bright wrote:
On 5/12/2014 12:12 AM, Manu via Digitalmars-d wrote:
What? You've never offered me a practical
Am Mon, 12 May 2014 08:44:51 +
schrieb Marc Schütz schue...@gmx.net:
On Monday, 12 May 2014 at 04:22:21 UTC, Marco Leise wrote:
On the positive side the talk about Rust, in particular how
reference counted pointers decay to borrowed pointers made me
think the same could be done for our
Am Thu, 29 May 2014 00:06:29 +
schrieb deadalnix deadal...@gmail.com:
On Wednesday, 28 May 2014 at 22:48:22 UTC, Jonathan M Davis via
Digitalmars-d wrote:
That's interesting :D
So I figure you didn't read the text/html part with the nice
1.5x line height which makes reading easy on
Am Thu, 29 May 2014 20:01:16 +
schrieb Sean Kelly s...@invisibleduck.org:
On Thursday, 29 May 2014 at 19:00:24 UTC, Walter Bright wrote:
If it's single threaded, and the single thread is doing the
collecting, who is starting up a new thread?
class Foo {
~this() {
Am Thu, 29 May 2014 12:35:46 +
schrieb safety0ff safety0ff@gmail.com:
On Thursday, 29 May 2014 at 10:09:18 UTC, Atila Neves wrote:
The GC is preventing me from beating Java, but not because of
collections. It's the locking it does to allocate instead! I
don't know about the rest
Am Thu, 29 May 2014 18:00:13 +
schrieb Brian Schott briancsch...@gmail.com:
On Thursday, 29 May 2014 at 10:09:18 UTC, Atila Neves wrote:
If you're profiling binaries on Linux, this thing is a must
have and I have no idea how I'd never heard about it before.
On the topic of perf, I
Am Thu, 29 May 2014 18:35:49 +0200
schrieb Joseph Rushton Wakeling via Digitalmars-d
digitalmars-d@puremagic.com:
On 29/05/14 16:47, Steven Schveighoffer via Digitalmars-d wrote:
javax was the experimental branch for Java's experimental code. Now
javax.xml is
PERMANENT.
Point taken.
Am Thu, 29 May 2014 20:10:13 +
schrieb John Colvin john.loughran.col...@gmail.com:
On Thursday, 29 May 2014 at 20:01:25 UTC, Tobias Pankrath wrote:
On Thursday, 29 May 2014 at 15:32:54 UTC, Wanderer wrote:
I don't see any valid alternatives. What should ideally happen
if you increment
Am Sat, 24 May 2014 21:32:04 +0200
schrieb Sönke Ludwig slud...@rejectedsoftware.com:
* It may also be a good step to solve the chicken-egg issue here, where
the argument is that because SDL isn't so common, it shouldn't be used.
I think it's a really nice little format that deserves to get
Am Fri, 30 May 2014 10:29:58 +0200
schrieb Rainer Schuetze r.sagita...@gmx.de:
On 29.05.2014 12:09, Atila Neves wrote:
The GC is preventing me from beating Java, but not because of
collections. It's the locking it does to allocate instead! I
don't know about the rest of you but I
Am Tue, 13 May 2014 13:38:43 -0400
schrieb Etienne etci...@gmail.com:
Also, nothing says a thread pool won't be in the works if it becomes
necessary.
Besides that JavaScript is single-threaded. That could be a
bit of a show stopper.
--
Marco
Am Fri, 30 May 2014 15:54:57 +
schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
On Friday, 30 May 2014 at 09:46:10 UTC, Marco Leise wrote:
simplicity. But as soon as I added a single CAS I was already
over the time that TCMalloc needs. That way I learned that CAS
is not
Run this with: -O3 -frelease -fno-assert -fno-bounds-check -march=native
This way GCC and LLVM will recognize that you alternately add
p0 and p1 to the sum and partially unroll the loop, thereby
removing the condition. It takes 1.4 nanoseconds per step
on my not so new 2.0 Ghz notebook, so I
Am Sat, 31 May 2014 17:44:23 +
schrieb Thomas t.leich...@arcor.de:
Thank you for the help. Which OS is running on your notebook ?
For I compiled your source code with your settings with the GCC
compiler. The run took 3.1 nanoseconds per step. For the DMD
compiler the run took
Am Sat, 31 May 2014 08:52:34 +
schrieb Kagamin s...@here.lot:
The design of TCMalloc seems to be compatible with Boehm GC, so D
GC can probably use same ideas.
Did I mention that Orvid planned on doing that for his
replacement GC?
It looks like there are now a lot of proof of concept GC
Am Mon, 02 Jun 2014 10:57:24 +
schrieb Thomas t.leich...@arcor.de:
My PC is 5 years old. Of course I used your flags. Besides I am
not an idiot, I am programming since 20 years and used 6
different programming languages. I did't post that just for fun,
for I am evaluating D as language
Am Mon, 02 Jun 2014 14:14:11 +
schrieb Dave G dgregor...@gmail.com:
Hello,
Why does the following add an extra CR in front of the CRLF's
auto outf = new File(out.txt, w);
outf.write(this\r\nis\r\na\r\ntest);
outf.close;
If I make the file binary
auto outf = new File(out.txt, wb);
Am Thu, 05 Jun 2014 14:30:40 +
schrieb Dicebot pub...@dicebot.lv:
On Thursday, 5 June 2014 at 14:01:43 UTC, bioinfornatics wrote:
On Thursday, 5 June 2014 at 06:40:17 UTC, Walter Bright wrote:
On 6/4/2014 9:25 AM, Iain Buclaw via Digitalmars-d wrote:
This likewise gdc too. All you
Am Thu, 5 Jun 2014 22:47:15 +0200
schrieb Johannes Pfau nos...@example.com:
archlinux has a 'pragmatic' approach regarding licenses patents
anyway. They also ship libdvdcss, mesa with --enable-texture-float,
all multimedia codec packages are in the standard repos etc.
On Gentoo, due to the
Am Thu, 19 Jun 2014 12:59:00 -0700
schrieb Walter Bright newshou...@digitalmars.com:
With nothrow and @nogc annotations, we've been motivated to add these
annotations to C system API functions, because obviously such functions
aren't
going to throw D exceptions or call the D garbage
Am Wed, 09 Jul 2014 16:21:46 -0700
schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org:
On 7/9/14, 2:59 PM, H. S. Teoh via Digitalmars-d wrote:
So why not link to select wiki pages from dlang.org?
Where's the pull request?
[…]
Walter and I are busy enough as is working on D to
Am Wed, 09 Jul 2014 23:56:20 +
schrieb w0rp devw...@gmail.com:
http://w0rp.com:8010/download
The download page is the page I've changed the most thus far. I
started by taking the different D compilers and so on and
breaking them into headings with short paragraphs explaining what
Am Mon, 11 Aug 2014 16:23:19 +0100
schrieb Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com:
… so what's new?
I was trying to search for web-based material on D ranges and Go slices
to see if they are basically the same thing. As soon as golang is a
query term, no other language
Am Sat, 12 Jul 2014 11:38:08 +0100
schrieb Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com:
That's not to say that Java, the language, (as opposed to the class
library or the marketing hype) isn't a pretty good language. In fact,
it's quite a beautiful language -- in the
Am Sun, 24 Aug 2014 06:39:28 +
schrieb Paulo Pinto pj...@progtools.org:
Examples of real, working desktop OS, that people really used at
their work, done in system programming languages with GC.
Mesa/Cedar
Am Tue, 19 Aug 2014 07:23:33 +
schrieb Kagamin s...@here.lot:
With GC you give up deterministic behavior, which is
*absolutely* not worth giving up for 1% of objects.
Memory needs deterministic management only under condition of
memory scarcity, but it's not a common case, and D
Am Wed, 30 Jul 2014 01:42:57 +
schrieb uri em...@ether.com:
On Wednesday, 30 July 2014 at 00:15:26 UTC, H. S. Teoh via
Digitalmars-d wrote:
On Tue, Jul 29, 2014 at 04:55:04PM -0700, Andrei Alexandrescu
via Digitalmars-d wrote:
On 7/29/14, 4:16 PM, H. S. Teoh via Digitalmars-d wrote:
Am Tue, 26 Aug 2014 18:23:30 +
schrieb Dicebot pub...@dicebot.lv:
On Tuesday, 26 August 2014 at 15:44:19 UTC, Robert burner Schadek
wrote:
BTW:
* move std.logger to std.experimental.logger
* the github project has unittests for the version statements
(all pass)
whats next?
Am Sun, 24 Aug 2014 13:14:43 +
schrieb Marc Schütz schue...@gmx.net:
In the Opportunities for D thread, Walter again mentioned the
topics ref counting, GC, uniqueness, and borrowing, from which a
lively discussion developed [1]. I took this thread as an
opportunity to write down some
Am Tue, 26 Aug 2014 20:59:57 +
schrieb Robert burner Schadek rburn...@gmail.com:
nothrow I get, but nothrow in dtors is a much wider topic (please
open a new thread if you want to discuss this) and see my example
to hack around it.
You are right.
but no nogc should be no problem as
Am Tue, 26 Aug 2014 13:47:05 +0300
schrieb ketmar via Digitalmars-d digitalmars-d@puremagic.com:
On Tue, 26 Aug 2014 10:36:14 +
eles via Digitalmars-d digitalmars-d@puremagic.com wrote:
Not exactly that, but look here two approaches for introducing
comments in standard JSON:
they
Am Wed, 27 Aug 2014 01:09:21 +
schrieb Dicebot pub...@dicebot.lv:
On Wednesday, 27 August 2014 at 00:09:15 UTC, Marco Leise wrote:
As far as I know, exactly this is not possible with the
current GC implementation. The exception you catch there has
just been allocated somewhere deeper
Am Wed, 27 Aug 2014 20:30:08 +
schrieb Phil Lavoie maidenp...@hotmail.com:
On Wednesday, 27 August 2014 at 20:28:11 UTC, Phil Lavoie wrote:
On Wednesday, 27 August 2014 at 20:05:27 UTC, MacAsm wrote:
On Wednesday, 27 August 2014 at 19:51:48 UTC, Phil Lavoie
wrote:
Ok so me and one
Am Sun, 31 Aug 2014 01:09:32 +
schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
I've got some questions:
How does logging interact with pure? You need to be able to log
in pure functions.
How do you come to that conclusion? Purity is a synonym for
_not_ having side
Am Thu, 28 Aug 2014 11:08:29 +0100
schrieb Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com:
Jérôme,
On Thu, 2014-08-28 at 11:53 +0200, Jérôme M. Berger via Digitalmars-d
wrote:
[…]
PPS: IANAL but I have had lots of contacts with patent lawyers and I
have taken part in
Am Thu, 28 Aug 2014 12:12:14 +0200
schrieb Daniel Kozak via Digitalmars-d
digitalmars-d@puremagic.com:
V Thu, 28 Aug 2014 11:53:35 +0200
Jérôme M. Berger via Digitalmars-d digitalmars-d@puremagic.com
napsáno:
I should have said that in D it is used when declaring an
instance (i.e.
Am Sun, 31 Aug 2014 08:52:58 +
schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
On Sunday, 31 August 2014 at 06:11:56 UTC, Marco Leise wrote:
Am Sun, 31 Aug 2014 01:09:32 +
schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
How does logging
Am Sun, 31 Aug 2014 09:01:23 +
schrieb David Chin dlc...@me.com:
Hi all,
On WebFaction, my Linux shared hosting server, I created a simple
Hello, World! script in a file named hello.d.
Attempting to run the script with rdmd hello.d yielded no error
messages, and strangely, no
Am Fri, 02 May 2014 01:56:49 +
schrieb bearophile bearophileh...@lycos.com:
Temtaime:
I think it's need to have -w64(or other name, offers ?) flag
that warns if code may not compile on other archs.
It's a problem and I'd like some way to compiler help solving
such problems.
I
Am Sat, 03 May 2014 03:17:23 +0200
schrieb Jonathan M Davis via Digitalmars-d
digitalmars-d@puremagic.com:
[…]
Putting warnings in the compiler always seems to result in forcing people to
change their code to make the compiler shut up about something that is
perfectly fine.
- Jonathan M
Am Tue, 02 Sep 2014 07:03:52 +
schrieb Dicebot pub...@dicebot.lv:
On Tuesday, 2 September 2014 at 06:18:27 UTC, Jacob Carlborg
wrote:
On 01/09/14 20:33, Dicebot wrote:
Any reason why it can't work for OSX in a same way? Assuming
LDC does
emit ModuleInfo Co sections the same way
Am Tue, 02 Sep 2014 08:29:24 +
schrieb Iain Buclaw ibuc...@gdcproject.org:
In normal fashion, it's missing an entry for D.
http://bjorn.tipling.com/if-programming-languages-were-weapons
I'll let your imaginations do the work.
Iain.
How can our beloved, can-do-anything C be a
Am Fri, 05 Sep 2014 19:38:13 +
schrieb deadalnix deadal...@gmail.com:
On Friday, 5 September 2014 at 11:50:37 UTC, Ola Fosheim Grøstad
wrote:
On Friday, 5 September 2014 at 09:27:41 UTC, Marco Leise wrote:
Only when you think about how people put 5 minutes of a
stunning 3D gfx demo
Am Thu, 4 Sep 2014 00:55:47 +0300
schrieb ketmar via Digitalmars-d digitalmars-d@puremagic.com:
On Wed, 03 Sep 2014 21:38:55 +
via Digitalmars-d digitalmars-d@puremagic.com wrote:
That sucks! Now I had to do it myself. (I think you should
upgrade to a decent editor on a decent OS and
Am Thu, 21 Aug 2014 17:57:11 +
schrieb Joakim dl...@joakim.airpost.net:
On Thursday, 21 August 2014 at 10:00:43 UTC, Daniel Murphy wrote:
You might want to look at DDMD, which is automatically
converted.
Yes, I'm aware of ddmd. You've mentioned many times that it only
works
Am Sat, 6 Sep 2014 14:52:19 +0300
schrieb ketmar via Digitalmars-d digitalmars-d@puremagic.com:
On Sat, 06 Sep 2014 11:05:13 +
monarch_dodra via Digitalmars-d digitalmars-d@puremagic.com wrote:
That sounds so much better than UTF-32.
why, in the name of hell, do you need UTF-32?!
Am Sat, 06 Sep 2014 02:30:49 +
schrieb Cassio Butrico cassio_butr...@ig.com.br:
What criteria do you take into consideration for the choice of a
programming language.
and why? does not mention what language would be, but what
criteria led them to choose.
In a start-up:
- known and
Am Sat, 6 Sep 2014 15:52:09 +0300
schrieb ketmar via Digitalmars-d digitalmars-d@puremagic.com:
On Sat, 6 Sep 2014 14:52:50 +0200
Marco Leise via Digitalmars-d digitalmars-d@puremagic.com wrote:
In practice it is a solved problem, as you can see in your
browser when you load a web site
Am Tue, 02 Sep 2014 10:23:57 +
schrieb po y...@no.com:
The first link says that Chrome is a *90* meg binary! Gawd
damn. Either they write some really bloated code, or modern
browsers require way too much shit to function.
Hmm, my installation of Lynx is 1.6 MiB in size. But
gfx and
Am Sat, 6 Sep 2014 17:51:23 +0300
schrieb ketmar via Digitalmars-d digitalmars-d@puremagic.com:
On Sat, 6 Sep 2014 16:38:50 +0200
Marco Leise via Digitalmars-d digitalmars-d@puremagic.com wrote:
Yes, but why do you prefer garbled symbols incorrectly mapped
to your native encoding or even
Am Sat, 06 Sep 2014 21:50:05 -0400
schrieb Nick Sabalausky seewebsitetocontac...@semitwist.com:
On 9/6/2014 9:07 PM, Cassio Butrico wrote:
On Saturday, 6 September 2014 at 22:16:02 UTC, Cassio Butrico wrote:
Thank you all, the reason for the question and what we can do for
programmers that
On Sunday, 7 September 2014 at 10:29:41 UTC, ketmar via
Digitalmars-d wrote:
but there is no need in extra work actually. using ASCII
and English for program UI will work in any encoding.
I'm not so convinced that many people would be happy with
reduction of they alphabet to ASCII. Some for
Am Mon, 08 Sep 2014 11:17:48 +
schrieb Robert burner Schadek rburn...@gmail.com:
On Saturday, 30 August 2014 at 02:16:55 UTC, Dicebot wrote:
==
Martin Nowak
==
Support duck-typing for the log functions.
Logger should be a
Am Mon, 08 Sep 2014 11:06:42 +
schrieb Robert burner Schadek rburn...@gmail.com:
Francesco Cattoglio
As far as I undestood, there's no way right now to do logging
without using the GC. And that means it is
Am Mon, 08 Sep 2014 13:37:02 +
schrieb Robert burner Schadek rburn...@gmail.com:
On Monday, 8 September 2014 at 13:20:27 UTC, Robert burner
Schadek wrote:
On Monday, 8 September 2014 at 12:36:29 UTC, Marco Leise wrote:
I think the template bloat argument is invalid as __LINE__ and
Am Mon, 08 Sep 2014 15:22:03 +
schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
On Monday, 8 September 2014 at 15:09:27 UTC, Dicebot wrote:
It is not about D community but about yourself. Do _you_ want
to be viewed as a valuable member of community? Do _you_ want
to
Am Mon, 8 Sep 2014 18:34:10 +0300
schrieb ketmar via Digitalmars-d digitalmars-d@puremagic.com:
On Mon, 08 Sep 2014 17:25:07 +0200
Timon Gehr via Digitalmars-d digitalmars-d@puremagic.com wrote:
int square(int x)=x*x;
noted.
To clarify: There is x^^2, but the implementation uses
pow(x,2)
Am Mon, 8 Sep 2014 20:27:41 +0300
schrieb ketmar via Digitalmars-d digitalmars-d@puremagic.com:
On Mon, 8 Sep 2014 18:55:46 +0200
Marco Leise via Digitalmars-d digitalmars-d@puremagic.com wrote:
but #arr looks very unusual
not for those who loves Lua. ;-)
... an Perl and Bash, yes
Am Mon, 08 Sep 2014 23:31:47 +
schrieb Dicebot pub...@dicebot.lv:
[…] fuck […] off-topic flamewar […] quite intentional.
[…] won't let you do that easily […] off-topic bullshit
[…] shooting people […] don't buy this […] attention whore
[…] troll […] retard […] You are crossing the line
Am Mon, 08 Sep 2014 19:12:22 +0200
schrieb Timon Gehr timon.g...@gmx.ch:
On 09/08/2014 07:00 PM, Marco Leise wrote:
Am Mon, 8 Sep 2014 18:34:10 +0300
schrieb ketmar via Digitalmars-d digitalmars-d@puremagic.com:
On Mon, 08 Sep 2014 17:25:07 +0200
Timon Gehr via Digitalmars-d
Am Thu, 11 Sep 2014 07:12:49 +0100
schrieb Iain Buclaw via Digitalmars-d
digitalmars-d@puremagic.com:
By way of example, the version of D shipped with gcc-4.9 in
Debian/Ubuntu is 2.065, if we were to switch now, then that compiler
version will need to be able to build whatever will be the
Am Thu, 11 Sep 2014 14:30:05 +
schrieb Kagamin s...@here.lot:
There are various api the compiler use to allocate from the GC.
Some do not specify if the allocated memory contains pointers or
not, and none do specify the type qualifier of the memory.
Is it true about pointers? Which
So I've implemented my first logger based on the abstract
logger class, (colorize stderr, convert strings to system
locale for POSIX terminals and wstring on Windows consoles).
1. Yes, logging is slower than stderr.writeln(Hello, world!);
It is a logging framework with timestamps, runtime
Am Thu, 11 Sep 2014 13:58:38 +
schrieb Marc Schütz schue...@gmx.net:
PING
Now that there are again several GC related topics being
discussed, I thought I'd bump this thread.
Would be nice if Walter and/or Andrei could have a look and share
there opinions. Is this something worth
Am Thu, 11 Sep 2014 21:32:44 +
schrieb Robert burner Schadek rburn...@gmail.com:
On Thursday, 11 September 2014 at 16:55:32 UTC, Marco Leise wrote:
2. I noticed that as my logger implementation grew more complex
and used functionality from other modules I wrote, that if
these
Am Fri, 12 Sep 2014 13:45:45 +0200
schrieb Jacob Carlborg d...@me.com:
On 12/09/14 08:59, Daniel Kozak via Digitalmars-d wrote:
toUpperInPlace could help little, but still not perfect
Converting text to uppercase doesn't work in-place in some cases. For
example the German double S will
Am Thu, 11 Sep 2014 13:44:09 +
schrieb Adam D. Ruppe destructiona...@gmail.com:
On Thursday, 11 September 2014 at 12:38:54 UTC, Andrey Lifanov
wrote:
And I think of idea of complete extraction of GC from D.
You could also recompile the runtime library without the GC.
Heck, with the
Am Fri, 12 Sep 2014 09:46:18 +
schrieb Robert burner Schadek rburn...@gmail.com:
On Thursday, 11 September 2014 at 22:10:01 UTC, Marco Leise wrote:
Let me clarify. Here is some code from 2015:
void main()
{
stdlog = new MyLogger();
// This call may overflow the stack if
Am Fri, 12 Sep 2014 15:55:37 +
schrieb Sean Kelly s...@invisibleduck.org:
On Friday, 12 September 2014 at 06:56:29 UTC, Jacob Carlborg
wrote:
On 64bit Objective-C can catch C++ exceptions. But I don't
think you can do anything with the exception, i.e. it uses the
following catch
Am Thu, 11 Sep 2014 17:35:25 -0700
schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org:
Hello,
We are racking our brains to figure out what to do about exceptions
thrown from C++ functions into D code that calls them.
A few levels of Nirvana would go like this:
0. Undefined
1 - 100 of 596 matches
Mail list logo