Re: Preprocessing CSS

2016-05-24 Thread Thiez via Digitalmars-d
On Tuesday, 24 May 2016 at 17:14:24 UTC, Andrei Alexandrescu wrote: On 05/24/2016 10:39 AM, Gary Willoughby wrote: On Monday, 23 May 2016 at 16:04:14 UTC, Andrei Alexandrescu wrote: Found this on reddit: http://blog.00null.net/post/144763147991/using-gnu-m4-as-a-css-pre-processor. I found it

Re: [OT] Swift removing minor features to piss me off

2016-04-28 Thread Thiez via Digitalmars-d
On Thursday, 28 April 2016 at 18:49:54 UTC, Steven Schveighoffer wrote: var i = i (which you may think causes i to now be mutable, but in actuality declares a NEW variable to shadow the old). So how would you tell the difference, and why would you care? Swift uses LLVM, so everything gets

Re: std.experimental.allocator.make should throw on out-of-memory

2016-04-21 Thread Thiez via Digitalmars-d
On Thursday, 21 April 2016 at 13:42:50 UTC, Era Scarecrow wrote: On Thursday, 21 April 2016 at 09:15:05 UTC, Thiez wrote: On Thursday, 21 April 2016 at 04:07:52 UTC, Era Scarecrow wrote: I'd say either you specify the amount of retries, or give some amount that would be acceptable for some

Re: std.experimental.allocator.make should throw on out-of-memory

2016-04-21 Thread Thiez via Digitalmars-d
On Thursday, 21 April 2016 at 04:07:52 UTC, Era Scarecrow wrote: I'd say either you specify the amount of retries, or give some amount that would be acceptable for some background program to retry for. Say, 30 seconds. Would that actually be more helpful than simply printing an OOM message

Re: Pitching D to academia

2016-03-10 Thread Thiez via Digitalmars-d
On Thursday, 10 March 2016 at 23:47:55 UTC, Andrew wrote: One of awful things about programming in many languages is that there's a gazillion tools you need to tack-on before you can do any engineering. In C++ that includes Doxygen for documentation, C++Unit for unit tests, gprof, gcov,

Re: Pitching D to academia

2016-03-10 Thread Thiez via Digitalmars-d
On Thursday, 10 March 2016 at 21:54:33 UTC, Andrew wrote: Don't forget to mention all the "software engineering" principles that can be taught using D too including: Design by Contract Literate programming (embedded documentation) and to tool that come "standard" in the language such as

Re: [OT] Some neat ideas from the Kotlin language

2016-02-19 Thread Thiez via Digitalmars-d
On Friday, 19 February 2016 at 12:28:14 UTC, Nemanja Boric wrote: What Rust is doing: ``` let foo: Option = bar(); let new_stuff = match foo { Some(x) => x, None => 0 } ``` (or similar, I don't have compiler handy). I think most would write that as: let new_stuf =

Re: What are the real advantages that D offers in multithreading?

2016-01-29 Thread Thiez via Digitalmars-d
On Thursday, 28 January 2016 at 22:59:58 UTC, cym13 wrote: On Thursday, 28 January 2016 at 11:53:48 UTC, Russel Winder wrote: It should be pointed out that anyone using the synchronized keyword anywhere in Java code is doing concurrent and parallel programming wrong. If they are using

Re: Swift is coming, Swift is coming

2015-11-26 Thread Thiez via Digitalmars-d
On Thursday, 26 November 2015 at 06:14:47 UTC, Joakim wrote: I don't consider Java and C# real competitors to Swift or D, as they're much older and won't attract the same users. Certainly not Java, with how verbose it is, haven't looked at C# too much. But for those with legacy codebases,

Re: GC on Rust: a serie of articles

2015-11-19 Thread Thiez via Digitalmars-d
On Wednesday, 18 November 2015 at 23:14:48 UTC, deadalnix wrote: On Wednesday, 18 November 2015 at 22:33:09 UTC, jmh530 wrote: On Wednesday, 18 November 2015 at 06:43:22 UTC, deadalnix wrote: http://blog.pnkfx.org/blog/2015/10/27/gc-and-rust-part-0-how-does-gc-work/

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-10 Thread Thiez via Digitalmars-d
On Wednesday, 10 June 2015 at 09:23:54 UTC, Chris wrote: One big difference between the D community and other languages' communities is is that D people keep criticizing the language and see every little flaw in every little corner, which is good and which is why D is the way it is. Or

Re: Self-hosting D compiler -- Coming Real Soon Now(tm)

2014-09-11 Thread Thiez via Digitalmars-d
With regard to the whole self-hosting thing, perhaps it is worth copying the way Rust handles this: https://github.com/rust-lang/rust/wiki/Note-compiler-snapshots So in order to build one would usually download a binary compiler and use it to bootstrap, but in theory one can take the last