Re: mood : simple vibe.d based blog implementation

2015-08-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 8/14/15 2:51 PM, Dicebot wrote: A bit more details - https://blog.dicebot.lv/posts/2015/08/In_the_mood_for_some_releasing Project repo - https://github.com/Dicebot/mood Branch which powers actual blog.dicebot.lv - https://github.com/Dicebot/mood/tree/blog.dicebot.lv Copy of feature list for

perpetual: new module for mapping file into memory

2015-08-17 Thread Sergei Degtiarev via Digitalmars-d-announce
I suggests a new module for mapping files into memory. Instead of viewing the file as array of bytes, it directly maps the object onto file allowing to handle it as regular in-memory object. The data remain persistent after the program exits and may be re-opened and used again or shared

Re: perpetual: new module for mapping file into memory

2015-08-17 Thread Liam McSherry via Digitalmars-d-announce
On Monday, 17 August 2015 at 18:27:48 UTC, Sergei Degtiarev wrote: [...] There is already this in Phobos: http://dlang.org/phobos/std_mmfile.html Is there any difference between `std.mmfile` and your solution?

Re: perpetual: new module for mapping file into memory

2015-08-17 Thread Sergei Degtiarev via Digitalmars-d-announce
On Monday, 17 August 2015 at 19:00:37 UTC, Liam McSherry wrote: Is there any difference between `std.mmfile` and your solution? Implementation at system level is similar, the approach is different. std.mmfile returns uninitialized chunk of memory, std.perpetual returns an object which can be

Re: mood : simple vibe.d based blog implementation

2015-08-17 Thread Walter Bright via Digitalmars-d-announce
On 8/17/2015 10:00 AM, Andrei Alexandrescu wrote: Tried to submit this, someone already did: https://www.reddit.com/r/programming/comments/3hbvrb/mood_simple_vibed_based_blog/ -- Andrei Dicebot, please post something there describing Mood to start the discussion.