Re: Battle-plan for CTFE

2016-06-29 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 30 June 2016 at 01:32:47 UTC, Martin Nowak wrote: On Thursday, 30 June 2016 at 01:20:08 UTC, Stefan Koch wrote: First small code example compiles! int bug6498(int x) { int n = 0; while (n < x) { n++; } return n; } evaluation of bug6498(100_000_00) took 226 msecs.

Re: Battle-plan for CTFE

2016-06-29 Thread Martin Nowak via Digitalmars-d-announce
On Thursday, 30 June 2016 at 01:20:08 UTC, Stefan Koch wrote: First small code example compiles! int bug6498(int x) { int n = 0; while (n < x) { n++; } return n; } evaluation of bug6498(100_000_00) took 226 msecs. evaluation of bug6498(100_000_000) took 2228 msecs. The memory

Re: Battle-plan for CTFE

2016-06-29 Thread Stefan Koch via Digitalmars-d-announce
First small code example compiles! int bug6498(int x) { int n = 0; while (n < x) { n++; } return n; } evaluation of bug6498(100_000_00) took 226 msecs. evaluation of bug6498(100_000_000) took 2228 msecs. The memory allocated by the Evaluator is exactly 12 bytes.

Re: one-file pure D decoders for vorbis, flac and mp3

2016-06-29 Thread ketmar via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 18:03:50 UTC, deadalnix wrote: I did vorbis by myself in the past in java, that format is UUUGHH ! lucky me, Sean did all the hard work. ;-) Good work. thank you.

Re: one-file pure D decoders for vorbis, flac and mp3

2016-06-29 Thread deadalnix via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 09:07:18 UTC, ketmar wrote: i decided to make some noise about those, as people may thinking about doing the ports themselves, and effectively double (or triple, or...) the work. so, here they are: * Vorbis decoder[1] (stb_vorbis port), PD; * FLAC decoder[2]

Re: Programming in D: A Happy Accident

2016-06-29 Thread WhatMeWorry via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 13:20:46 UTC, Mike Parker wrote: Ali put together a guest post for the D blog on how he fell into to writing a Turkish tutorial on D that later became one of the best known resources for learning the language. Long live 'Programming in D'!

Re: IUP, CD, IM, lua interfaces in D.

2016-06-29 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 14:01:52 UTC, mogu wrote: On Wednesday, 29 June 2016 at 09:48:19 UTC, Chris wrote: Have you seen this: https://github.com/DerelictOrg/DerelictLua There is also https://github.com/JakobOvrum/LuaD I have already looked over these projects before I wrote this

Re: IUP, CD, IM, lua interfaces in D.

2016-06-29 Thread Chris via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 14:01:52 UTC, mogu wrote: On Wednesday, 29 June 2016 at 09:48:19 UTC, Chris wrote: Have you seen this: https://github.com/DerelictOrg/DerelictLua There is also https://github.com/JakobOvrum/LuaD I have already looked over these projects before I wrote this

Re: IUP, CD, IM, lua interfaces in D.

2016-06-29 Thread mogu via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 08:24:30 UTC, Dsby wrote: Great! 蘑菇大神威武、、 白玉大大威武

Re: IUP, CD, IM, lua interfaces in D.

2016-06-29 Thread mogu via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 09:48:19 UTC, Chris wrote: Have you seen this: https://github.com/DerelictOrg/DerelictLua There is also https://github.com/JakobOvrum/LuaD I have already looked over these projects before I wrote this down. The problems are that luaD is in version 5.1 and

Re: one-file pure D decoders for vorbis, flac and mp3

2016-06-29 Thread Suliman via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 09:07:18 UTC, ketmar wrote: i decided to make some noise about those, as people may thinking about doing the ports themselves, and effectively double (or triple, or...) the work. so, here they are: * Vorbis decoder[1] (stb_vorbis port), PD; * FLAC decoder[2]

Re: Programming in D: A Happy Accident

2016-06-29 Thread Mike Parker via Digitalmars-d-announce
And once again, I forgot the reddit link (see, Vladimir... I'm the kind of guy that absolutely needs an edit button!). https://www.reddit.com/r/programming/comments/4qfg67/programming_in_d_a_happy_accident_how_a_turkish_d/

Programming in D: A Happy Accident

2016-06-29 Thread Mike Parker via Digitalmars-d-announce
Ali put together a guest post for the D blog on how he fell into to writing a Turkish tutorial on D that later became one of the best known resources for learning the language. Long live 'Programming in D'! http://dlang.org/blog/2016/06/29/programming-in-d-a-happy-accident/

Re: one-file pure D decoders for vorbis, flac and mp3

2016-06-29 Thread ketmar via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 10:22:39 UTC, Martin Nowak wrote: Any chance you'll turn this into a dub package? zero. i'm not using dub, and i hate dub polluting my source directory with it's files. but i don't mind if somebody will just fork/take the sources and create dub packages from

Re: one-file pure D decoders for vorbis, flac and mp3

2016-06-29 Thread Martin Nowak via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 09:07:18 UTC, ketmar wrote: i decided to make some noise about those, as people may thinking about doing the ports themselves, and effectively double (or triple, or...) the work. so, here they are: * Vorbis decoder[1] (stb_vorbis port), PD; * FLAC decoder[2]

Re: one-file pure D decoders for vorbis, flac and mp3

2016-06-29 Thread Guillaume Piolat via Digitalmars-d-announce
On Wednesday, 29 June 2016 at 09:07:18 UTC, ketmar wrote: so, here they are: * Vorbis decoder[1] (stb_vorbis port), PD; * FLAC decoder[2] (drflac port), PD; * MP3 decoder[3] (minimp3 port), GPL. That's pretty cool, thanks!

one-file pure D decoders for vorbis, flac and mp3

2016-06-29 Thread ketmar via Digitalmars-d-announce
i decided to make some noise about those, as people may thinking about doing the ports themselves, and effectively double (or triple, or...) the work. so, here they are: * Vorbis decoder[1] (stb_vorbis port), PD; * FLAC decoder[2] (drflac port), PD; * MP3 decoder[3] (minimp3 port), GPL. they

Re: IUP, CD, IM, lua interfaces in D.

2016-06-29 Thread Dsby via Digitalmars-d-announce
On Tuesday, 28 June 2016 at 10:17:10 UTC, mogu wrote: Now IUP library collections' interfaces accomplished. IUP(3.18): http://code.dlang.org/packages/iupd IM(3.10): http://code.dlang.org/packages/imd CD(5.9):http://code.dlang.org/packages/cdd lua(5.3.3):

Re: IUP, CD, IM, lua interfaces in D.

2016-06-29 Thread Andrea Fontana via Digitalmars-d-announce
On Tuesday, 28 June 2016 at 10:17:10 UTC, mogu wrote: Now IUP library collections' interfaces accomplished. IUP(3.18): http://code.dlang.org/packages/iupd IM(3.10): http://code.dlang.org/packages/imd CD(5.9):http://code.dlang.org/packages/cdd lua(5.3.3):