Re: Blog post on automem

2017-05-04 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 4 May 2017 at 08:41:55 UTC, Atila Neves wrote: On Wednesday, 3 May 2017 at 12:43:26 UTC, ANtlord wrote: [...] I took a look at this. It's a druntime problem. Unique.~this calls std.experimental.allocator.dispose, which calls destroy in object.d which calls rt_finalize: extern

Re: Blog post on automem

2017-05-04 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 3 May 2017 at 12:43:26 UTC, ANtlord wrote: On Friday, 28 April 2017 at 14:40:03 UTC, Mike Parker wrote: Atila was kind enough to do a write up on his automem library for the D Blog, talking about why he did it and showing some of the implementation details. This is officially part

Re: Blog post on automem

2017-04-28 Thread Atila Neves via Digitalmars-d-announce
On Friday, 28 April 2017 at 22:06:57 UTC, Nordlöw wrote: On Friday, 28 April 2017 at 14:40:03 UTC, Mike Parker wrote: Blog: https://dlang.org/blog/2017/04/28/automem-hands-free-raii-for-d/ Nice. One thing, Atila; what about replacing typeof(u1) u2; move(u1, u2); with typeof(u1)

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-28 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 9 April 2017 at 15:52:50 UTC, Basile B. wrote: On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote: Using std.experimental.allocator? Tired of writing `scope(exit) allocator.dispose(foo);` in a language with RAII? Me too: http://code.dlang.org/packages/automem I think t

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 25 April 2017 at 13:57:53 UTC, XavierAP wrote: On Tuesday, 11 April 2017 at 06:08:16 UTC, Ali Çehreli wrote: I have to say it took me a very long time to come up with the title and the abstract. How could I sell D to C++ experts? Luckily, I asked Manu and among a long list of idea

nogc v0.0.1: @nogc variants of `std.exception.enforce`, `std.conv.text` - Basically `@nogc` exceptions. Sorta.

2017-04-28 Thread Atila Neves via Digitalmars-d-announce
Writing `@nogc` code? Want to throw exceptions? Yeah, I know, painful. We can do this already: void foo() @nogc { static const exception = new Exception("message can't change"); if() throw exception; // no information about is possible } But, we get limited information and no inform

Re: excel-d v0.0.1 - D API to write functions callable from Excel

2017-04-27 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 25 April 2017 at 20:20:08 UTC, jmh530 wrote: On Monday, 24 April 2017 at 21:59:34 UTC, Atila Neves wrote: Enter the `@Dispose` UDA: I found this really interesting. Am I understanding the process correctly: apply map to numbers, allocate and return a new array in D, copy it to

Re: excel-d v0.0.1 - D API to write functions callable from Excel

2017-04-26 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 25 April 2017 at 22:21:33 UTC, Ali Çehreli wrote: On 04/25/2017 01:20 PM, jmh530 wrote: > [...] numbers, allocate > [...] to free the > [...] Yes. > [...] freed by D > [...] Correct. > [...] of just the > [...] C++ smart > [...] totally grok it > [...] Just by guessing, what we d

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-25 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 23 April 2017 at 12:29:24 UTC, Guillaume Piolat wrote: On Sunday, 23 April 2017 at 12:04:08 UTC, Guillaume Piolat wrote: Hence Rust that sanctified this style. And why it's not that interesting to the modern C++ programmer. Actually, writing Rust made me realise how bad my C++ cod

Re: excel-d v0.0.1 - D API to write functions callable from Excel

2017-04-24 Thread Atila Neves via Digitalmars-d-announce
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote: http://code.dlang.org/packages/excel-d This dub package allows D code to be called from Excel. It uses compile-time reflection to register the user's code in an XLL (a DLL loaded by Excel) so no boilerplate is necessary. Not even `D

Re: influxdb-dlang-wrapper v0.0.1 - D API for InfluxDB

2017-04-21 Thread Atila Neves via Digitalmars-d-announce
On Monday, 20 March 2017 at 19:57:03 UTC, Atila Neves wrote: http://code.dlang.org/packages/influxdb-dlang-wrapper InfluxDB is a database optimised for time-series data. This package implements a D API via the REST interface so that this code works: [...] Renamed to influx-d Atila

unit-threaded v0.7.15 - speedy compile times

2017-04-16 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/unit-threaded Other than some bug fixes, the big news here is a version of the library that compiles a _lot_ faster: just add `"versions": ["unitThreadedLight"]` in `dub.json` or the equivalent for however you're building your project. If using dub, I suggest ha

Re: excel-d v0.0.1 - D API to write functions callable from Excel

2017-04-13 Thread Atila Neves via Digitalmars-d-announce
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote: http://code.dlang.org/packages/excel-d This dub package allows D code to be called from Excel. It uses compile-time reflection to register the user's code in an XLL (a DLL loaded by Excel) so no boilerplate is necessary. Not even `D

Re: Call for arms: Arch Linux D package maintenance

2017-04-13 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 16:17:32 UTC, John Colvin wrote: On Thursday, 16 February 2017 at 19:58:47 UTC, Rory McGuire wrote: [...] Any news on this? The arch packages are listed as orphaned. Same question, and adding that I volunteer to take over. Atila

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-11 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 22:32:51 UTC, Martin Nowak wrote: On Monday, 10 April 2017 at 08:31:28 UTC, Atila Neves wrote: ```d import std.experimental.allocator.mallocator; UniqueArray!(int, Mallocator) a; a ~= [0,1]; ``` So the difference between std.container.Array and UniqueArray is that

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-11 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 08:09:15 UTC, Martin Nowak wrote: On Sunday, 9 April 2017 at 10:22:49 UTC, Atila Neves wrote: I did not. Thanks for telling me! The way I wrote it RefCounted!(shared T) works - RefCounted doesn't have to be shared itself, but I guess it could be. I think the othe

Re: D support for the Meson build system

2017-04-11 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 07:34:58 UTC, Russel Winder wrote: On Mon, 2017-04-10 at 12:41 +, Matthias Klumpp via Digitalmars-d- announce wrote: […] I am not buying the necessity of not-splitbuilding for optimizations yet. If that would be the case, how do optimizations work with projec

Re: GC blessed for C++ (again)

2017-04-11 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 07:02:19 UTC, Swoorup Joshi wrote: On Monday, 10 April 2017 at 04:49:34 UTC, Jack Stouffer wrote: On Monday, 10 April 2017 at 04:17:21 UTC, Swoorup Joshi wrote: On Wednesday, 28 September 2016 at 20:50:28 UTC, Ali Çehreli wrote: https://www.reddit.com/r/programming

Re: fluent-asserts released

2017-04-10 Thread Atila Neves via Digitalmars-d-announce
On Monday, 10 April 2017 at 14:15:45 UTC, Szabo Bogdan wrote: On Monday, 10 April 2017 at 12:54:43 UTC, Jacob Carlborg wrote: On 2017-04-09 15:30, Szabo Bogdan wrote: Hi! I just made an update to my fluent assert library. This is a library that allows you to write asserts in a BDD style. Ri

Re: D support for the Meson build system

2017-04-10 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 8 April 2017 at 19:11:35 UTC, Martin Nowak wrote: On Friday, 7 April 2017 at 07:57:02 UTC, kinke wrote: So while compiling each file separately in parallel is potentially much much faster, the produced release binary may be slower due to less/no cross-module inlining (e.g., LDC's

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-10 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 9 April 2017 at 19:04:22 UTC, mogu wrote: On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote: Using std.experimental.allocator? Tired of writing `scope(exit) allocator.dispose(foo);` in a language with RAII? Me too: [...] Nice! Should UniqueArray be implemented as a over

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-10 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 9 April 2017 at 15:52:50 UTC, Basile B. wrote: On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote: Using std.experimental.allocator? Tired of writing `scope(exit) allocator.dispose(foo);` in a language with RAII? Me too: http://code.dlang.org/packages/automem I think t

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-10 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 9 April 2017 at 13:59:14 UTC, Andrei Alexandrescu wrote: On 4/9/17 4:56 AM, Atila Neves wrote: Using std.experimental.allocator? Tired of writing `scope(exit) allocator.dispose(foo);` in a language with RAII? Me too: http://code.dlang.org/packages/automem Example: I think the c

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-09 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 9 April 2017 at 09:36:53 UTC, Martin Nowak wrote: On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote: I benchmarked RefCounted against C++'s std::shared_ptr comparing ldc to clang using both shared and non-shared payloads in D. std::shared_ptr is faster (I've never written a

automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-09 Thread Atila Neves via Digitalmars-d-announce
Using std.experimental.allocator? Tired of writing `scope(exit) allocator.dispose(foo);` in a language with RAII? Me too: http://code.dlang.org/packages/automem Example: I think the code in the README should be enough to understand what's going on. Alpha stuff here but I think the main thin

Re: influxdb-dlang-wrapper v0.0.1 - D API for InfluxDB

2017-04-09 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 9 April 2017 at 08:18:38 UTC, Andy smith wrote: On Monday, 20 March 2017 at 19:57:03 UTC, Atila Neves wrote: http://code.dlang.org/packages/influxdb-dlang-wrapper InfluxDB is a database optimised for time-series data. This package implements a D API via the REST interface so that th

Re: excel-d v0.0.1 - D API to write functions callable from Excel

2017-03-21 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 21 March 2017 at 01:12:45 UTC, Laeeth Isharc wrote: On Tuesday, 21 March 2017 at 00:25:46 UTC, Steven Schveighoffer wrote: On 3/20/17 4:09 PM, Atila Neves wrote: http://code.dlang.org/packages/excel-d This dub package allows D code to be called from Excel. It uses compile-time ref

Re: excel-d v0.0.1 - D API to write functions callable from Excel

2017-03-21 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 21 March 2017 at 00:25:46 UTC, Steven Schveighoffer wrote: On 3/20/17 4:09 PM, Atila Neves wrote: http://code.dlang.org/packages/excel-d This dub package allows D code to be called from Excel. It uses compile-time reflection to register the user's code in an XLL (a DLL loaded by Ex

excel-d v0.0.1 - D API to write functions callable from Excel

2017-03-20 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/excel-d This dub package allows D code to be called from Excel. It uses compile-time reflection to register the user's code in an XLL (a DLL loaded by Excel) so no boilerplate is necessary. Not even `DllMain`! It works like this: main.d: import xlld; mixin(wra

influxdb-dlang-wrapper v0.0.1 - D API for InfluxDB

2017-03-20 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/influxdb-dlang-wrapper InfluxDB is a database optimised for time-series data. This package implements a D API via the REST interface so that this code works: import influxdb; // this will connect and create the `mydb` database if not already in InfluxDB const

Re: concepts v0.0.1

2016-12-19 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 17 December 2016 at 04:00:32 UTC, Nicholas Wilson wrote: On Friday, 16 December 2016 at 23:49:18 UTC, Nicholas Wilson wrote: On Friday, 16 December 2016 at 20:51:19 UTC, Atila Neves wrote: @models!(Foo, isFoo) What happened to the __UDA_ATTACHMENT__ proposal? Nothing AFAIK.

Re: concepts v0.0.1

2016-12-19 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 17 December 2016 at 14:58:24 UTC, Jacob Carlborg wrote: On 2016-12-16 21:51, Atila Neves wrote: [...] It's not very well tested ;). When a check fails I get this error: Oops! Fixed it now. Look, now it's version 0.0.2! :P Atila

test_allocator v0.0.1 - don't leak memory in your std.experimental.allocator using code

2016-12-16 Thread Atila Neves via Digitalmars-d-announce
So you decide to use std.experimental.allocator for your memory allocations. Let's say you're as paranoid as me about getting the allocations right. How do you know you're not leaking memory now (no GC safety net)?. Or worse, deallocating memory you shouldn't? The program didn't crash, but you

concepts v0.0.1

2016-12-16 Thread Atila Neves via Digitalmars-d-announce
Since my phobos PR for better static assertions was clearly never getting merged (https://github.com/dlang/phobos/pull/3677), I moved the code to dub instead: http://code.dlang.org/packages/concepts Basically, as long as you pair up your template constraints (e.g. isFoo) with a suitably named

Re: DStatsD - A fast, memory efficent, vibe.d compatible client for etsy's statsd.

2016-10-11 Thread Atila Neves via Digitalmars-d-announce
On Monday, 10 October 2016 at 08:47:54 UTC, Robert burner Schadek wrote: http://code.dlang.org/packages/dstatsd StatsD allows to collect statistics about any application by using counters, gauges and more through UDP. Usage: auto s = new StatsD("127.0.0.1", 1234, ""); // connect to statsd s

Re: GC blessed for C++ (again)

2016-10-09 Thread Atila Neves via Digitalmars-d-announce
On Friday, 7 October 2016 at 21:21:43 UTC, deadalnix wrote: On Friday, 30 September 2016 at 14:12:30 UTC, Dejan Lekic wrote: On Wednesday, 28 September 2016 at 20:50:28 UTC, Ali Çehreli wrote: [...] The paragraph I like the most there is: "The other important difference is that deferred_heap

Re: Please say hello to Alexandru

2016-10-05 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 4 October 2016 at 23:01:37 UTC, Andrei Alexandrescu wrote: Hello everyone, It is with great joy and honor to announce that Alexandru Razvan Caciulescu will work with the D Language Foundation starting today. Please join me in welcoming him to the community. [...] Awesome. Hel

Re: Cppcon tonight at 8:30 in Bellevue

2016-09-22 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 22 September 2016 at 21:21:06 UTC, cym13 wrote: On Thursday, 22 September 2016 at 19:50:40 UTC, Atila Neves wrote: On Wednesday, 21 September 2016 at 22:32:27 UTC, Walter Bright wrote: Wednesday 09/21/2016 8:30pm: Writing Secure C++ CppCon is being hosted at the Meydenbauer Center

Re: Cppcon tonight at 8:30 in Bellevue

2016-09-22 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 21 September 2016 at 22:32:27 UTC, Walter Bright wrote: Wednesday 09/21/2016 8:30pm: Writing Secure C++ CppCon is being hosted at the Meydenbauer Center in Bellevue. Directions and parking information can be found here: http://www.meydenbauer.com/parking-directions/ Additional

Re: Eclipse Paho D Library (finally) started

2016-08-31 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 31 August 2016 at 14:14:36 UTC, Frank Pagliughi wrote: Hey All, First, my apologies. Over a year ago I had promised to put up a D library for MQTT, but a number of factors conspired against me in the intervening time. [...] Are you aware of this? https://github.com/atilaneve

Re: unit-threaded v0.6.26 - advanced unit testing in D with new features

2016-08-08 Thread Atila Neves via Digitalmars-d-announce
On Monday, 8 August 2016 at 08:24:48 UTC, Alix Pexton wrote: On 08/08/2016 08:37, Atila Neves wrote: On Saturday, 6 August 2016 at 10:34:52 UTC, Nicholas Wilson wrote: On Friday, 5 August 2016 at 15:31:34 UTC, Atila Neves wrote: [...] There is a typo in your readme [...] shouldBe (!) add

Re: unit-threaded v0.6.26 - advanced unit testing in D with new features

2016-08-08 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 6 August 2016 at 10:34:52 UTC, Nicholas Wilson wrote: On Friday, 5 August 2016 at 15:31:34 UTC, Atila Neves wrote: https://code.dlang.org/packages/unit-threaded What's new: . Mocking support. Classes, interfaces and structs can be mocked (see README.md or examples) . Shrinking sup

Re: unit-threaded v0.6.26 - advanced unit testing in D with new features

2016-08-08 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 6 August 2016 at 01:50:15 UTC, Øivind wrote: On Friday, 5 August 2016 at 15:31:34 UTC, Atila Neves wrote: https://code.dlang.org/packages/unit-threaded What's new: . Mocking support. Classes, interfaces and structs can be mocked (see README.md or examples) . Shrinking support for

Re: unit-threaded v0.6.26 - advanced unit testing in D with new features

2016-08-08 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 6 August 2016 at 10:34:52 UTC, Nicholas Wilson wrote: On Friday, 5 August 2016 at 15:31:34 UTC, Atila Neves wrote: https://code.dlang.org/packages/unit-threaded What's new: . Mocking support. Classes, interfaces and structs can be mocked (see README.md or examples) . Shrinking sup

unit-threaded v0.6.26 - advanced unit testing in D with new features

2016-08-05 Thread Atila Neves via Digitalmars-d-announce
https://code.dlang.org/packages/unit-threaded What's new: . Mocking support. Classes, interfaces and structs can be mocked (see README.md or examples) . Shrinking support for property-based testing, but only for integrals and arrays . Bug fixes Enjoy! Atila

unit-threaded v0.6.19 - preliminary support for property-based testing

2016-07-02 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/unit-threaded After merging code from Robert's fork I added some support for property-based testing. There's no shrinking yet and user-defined types aren't supported. Right now most if not all primitive types are, as well as string, wstring, dstring and arrays of

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-17 Thread Atila Neves via Digitalmars-d-announce
On Friday, 17 June 2016 at 06:18:28 UTC, H. S. Teoh wrote: On Fri, Jun 17, 2016 at 05:41:30AM +, Jason White via Digitalmars-d-announce wrote: [...] Where Make gets slow is when checking for changes on a ton of files. I haven't tested it, but I'm sure Button is faster than Make in this case

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-17 Thread Atila Neves via Digitalmars-d-announce
On Friday, 17 June 2016 at 05:41:30 UTC, Jason White wrote: On Thursday, 16 June 2016 at 13:39:20 UTC, Atila Neves wrote: It would be a worthwhile trade-off, if those were the only two options available, but they're not. There are multiple build systems out there that do correct builds whilst b

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-16 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 16 June 2016 at 12:32:02 UTC, Kagamin wrote: On Sunday, 12 June 2016 at 20:47:31 UTC, cym13 wrote: Yeah, I have often thought that writing a self-contained D program to build D would work well. The full power of the language would be available, there'd be nothing new to learn, and

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-16 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 16 June 2016 at 04:26:24 UTC, Jason White wrote: On Wednesday, 15 June 2016 at 12:00:52 UTC, Andrei Alexandrescu wrote: I'd say the gating factor is -j. If an build system doesn't implement the equivalent of make -j, that's a showstopper. Don't worry, there is a --threads option a

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-15 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 15 June 2016 at 15:39:47 UTC, Andrei Alexandrescu wrote: On 06/15/2016 08:05 AM, John Colvin wrote: On Wednesday, 15 June 2016 at 11:47:00 UTC, Walter Bright wrote: On 6/15/2016 4:07 AM, Edwin van Leeuwen wrote: How about using reggae? https://github.com/atilaneves/phobos/blob/r

Re: Button: A fast, correct, and elegantly simple build system.

2016-05-31 Thread Atila Neves via Digitalmars-d-announce
On Monday, 30 May 2016 at 19:16:50 UTC, Jason White wrote: I am pleased to finally announce the build system I've been slowly working on for over a year in my spare time: snip In fact, there is some experimental support for automatic conversion of Makefiles to Button's build description format

Re: Better Voldemort types

2016-05-25 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer wrote: Blog post on making Voldemort types without the disk-space issues: http://www.schveiguy.com/blog/2016/05/have-your-voldemort-types-and-keep-your-disk-space-too/ -Steve Should we horcruxify Phobos? Atila

Re: My ACCU 2016 keynote video available online

2016-05-22 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 21 May 2016 at 13:51:11 UTC, Manu wrote: On 21 May 2016 at 23:20, Andrei Alexandrescu via Digitalmars-d-announce wrote: On 05/21/2016 04:45 AM, Manu via Digitalmars-d-announce wrote: [...] I guess a lot more detail would be necessary here. A bunch of good folks (at least bett

Re: unit-threaded v0.6.13 - tags, autotags and support for integration tests

2016-05-17 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 17 May 2016 at 14:22:51 UTC, Meta wrote: On Tuesday, 17 May 2016 at 09:54:15 UTC, Marc Schütz wrote: You surely mean "used to be destroy", right? Good question... If I write this: struct Test { ~this() { writeln("destroying Test"); } } with (Test()) { //Do stuff } Will T

unit-threaded v0.6.13 - tags, autotags and support for integration tests

2016-05-16 Thread Atila Neves via Digitalmars-d-announce
Advanced multi-threaded unit testing framework with minimal to no boilerplate: http://code.dlang.org/packages/unit-threaded What's new: . Tags. While selecting which tests to run by package or module is definitely handy and mostly what one wants, sometimes there are cross-cutting concerns.

Re: Commercial video processing app in D (experience report)

2016-04-28 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 12:42:05 UTC, thedeemon wrote: Cerealed This compile-time-introspection-based serializaition lib is really great: powerful and easy to use. We're probably using an old version, haven't updated for some time, and the version we use sometimes had problems serializi

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-11 Thread Atila Neves via Digitalmars-d-announce
On Friday, 11 March 2016 at 08:06:19 UTC, Jacob Carlborg wrote: On 2016-03-10 12:05, Atila Neves wrote: No, sorry. I haven't needed it yet. Something like this? Yes. @Types!(int, string) void testArray(T)() { import std.container; auto arr = Array!T(); arr.empty.shouldBeTrue

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-10 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 10 March 2016 at 16:06:38 UTC, Meta wrote: On Wednesday, 9 March 2016 at 18:01:49 UTC, Atila Neves wrote: The forum must be sick of hearing from me... :P I'm always excited for a new release of unit-threaded Thanks for the kind words! Atila

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-10 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 10 March 2016 at 08:09:40 UTC, Jacob Carlborg wrote: On 2016-03-09 19:01, Atila Neves wrote: The forum must be sick of hearing from me... :P For those not in the know, unit-threaded is an advanced unit testing library for D: http://code.dlang.org/packages/unit-threaded The v0.6.3

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-10 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 10 March 2016 at 09:33:39 UTC, Iakh wrote: On Wednesday, 9 March 2016 at 18:01:49 UTC, Atila Neves wrote: @Types!(int, byte) void testInit(T)() { assert(T.init == 0); } Atila It is not clear that this UDA is about unittesting Even when attached to a test function? Atila

unit-threaded v0.6.5 - Type-parametrized tests

2016-03-09 Thread Atila Neves via Digitalmars-d-announce
The forum must be sick of hearing from me... :P For those not in the know, unit-threaded is an advanced unit testing library for D: http://code.dlang.org/packages/unit-threaded The v0.6.3 release had tests parametrized by value; this v0.6.5 release brings with it the possibility of parametrizi

Re: unit-threaded v0.6.3 - now even easier to use / opt-in

2016-03-02 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 2 March 2016 at 12:52:34 UTC, Sebastiaan Koppe wrote: On Monday, 29 February 2016 at 09:37:51 UTC, Atila Neves wrote: [...] Worked nicely, but I had to change some configs. { "name": "unittest", "preBuildCommands": ["dub run unit-threaded

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-29 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 17 February 2016 at 09:16:02 UTC, Sebastiaan Koppe wrote: On Wednesday, 17 February 2016 at 09:05:34 UTC, Atila Neves wrote: [...] You're on a holiday, I appreciate anything you write :) [...] You don't need a testrunner generator anymore: http://forum.dlang.org/post/tgbfkaze

unit-threaded v0.6.3 - now even easier to use / opt-in

2016-02-29 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/unit-threaded Through the magic of dub, unit-threaded is now easier to include in your project, with no need for a hand-written test main file anymore. And all because the library can be run as an executable by dub. It's an idea that's so obvious in retrospect I

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-18 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 17 February 2016 at 09:16:02 UTC, Sebastiaan Koppe wrote: On Wednesday, 17 February 2016 at 09:05:34 UTC, Atila Neves wrote: I'm on a tablet on holiday so sorry in advance for the short answer. You're on a holiday, I appreciate anything you write :) Your versioned import is the

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-17 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 16 February 2016 at 22:13:15 UTC, Sebastiaan Koppe wrote: On Monday, 8 February 2016 at 13:23:40 UTC, Atila Neves wrote: What's new: [...] Enjoy! Atila I just started using unit-threaded and I like it so far, specially the parallel runner. Just had some speed-bumps that might

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-14 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 13 February 2016 at 12:41:35 UTC, Daniel Murphy wrote: On 9/02/2016 12:23 AM, Atila Neves wrote: What's new: Built-in unittest blocks can now have a name with just a string UDA: @("test that does stuff") unitte

unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-08 Thread Atila Neves via Digitalmars-d-announce
What's new: Built-in unittest blocks can now have a name with just a string UDA: @("test that does stuff") unittest {... } Why is this important? If you just want to run unit tests in threads and have them named, you don't

Re: Ever want to compile D on your Android phone? Well, now you can!

2016-01-26 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 24 January 2016 at 15:12:30 UTC, Joakim wrote: An alpha release of ldc, the llvm-based D compiler, for Android devices is now available. It is best used with the excellent Termux app (https://play.google.com/store/apps/details?id=com.termux&hl=en) and a bluetooth keyboard. ;) Update

Re: Please vote for the DConf logo

2015-11-06 Thread Atila Neves via Digitalmars-d-announce
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: https://raw.githubusercontent.com/p0nce/dconf.org/4f0f2b5be8ec2b06e3feb

D talk at the EPFL university in Lausanne, Switzerland

2015-10-29 Thread Atila Neves via Digitalmars-d-announce
My supervisor organised this with the university: http://memento.epfl.ch/event/why-d-2/ Atila

Re: This Week in D #37 - forum tutorials and tip on using UDAs

2015-09-28 Thread Atila Neves via Digitalmars-d-announce
On Monday, 28 September 2015 at 13:03:50 UTC, Adam D. Ruppe wrote: This Week in #Dlang - new bugfix release, Windows driver, Azure+vibe tutorial, tip on uda transformations + mixin templates http://arsdnet.net/this-week-in-d/sep-27.html The tip here is one I've been talking about on irc a li

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-28 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 26 September 2015 at 03:51:11 UTC, Jason White wrote: I rarely visit the D forums and even more rarely make a post, but this thread caught my eye. I've been writing a build system in D too: https://github.com/jasonwhite/brilliant-build (I'm not very fond of the name. Naming is ha

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 September 2015 at 22:12:49 UTC, anonymous wrote: On Friday 25 September 2015 23:27, Atila Neves wrote: How does one compile 3 files "at the same time" and generate 3 object files? There was a reference to a -multiobj option in that post but that's not even in the man page. dmd

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 September 2015 at 12:09:01 UTC, Jacob Carlborg wrote: On 2015-09-24 16:46, Atila Neves wrote: That's not been my experience at all using reggae. I only do incremental builds now and have never run into a problem. Can you give an example? Here's one old post [1] that describes t

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-24 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 12:39:48 UTC, Per Nordlöw wrote: On Wednesday, 16 September 2015 at 14:07:17 UTC, Atila Neves wrote: http://code.dlang.org/my_packages/reggae What's new: Atila If you want to build a really revolutionary *new* build system you should turn reggae into a client

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-24 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 23 September 2015 at 06:16:08 UTC, Jacob Carlborg wrote: On 2015-09-22 14:39, Per Nordlöw wrote: SCons has a very hidden feature called interactive mode via `--interactive` that supports instantaenous incremental builds via a very primitive CLI that basically supports to command

reggae v0.5.0: new features in the D meta-build system

2015-09-16 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/my_packages/reggae What's new: . API changes: main high-level rules are now called objectFiles, link, and scriptlike . Optional top-level targets: aren't built by default but can be built on request . Phony targets . staticLibrary rule that does what it says . unityBuild

Re: Blog post : OOP composition with mixins

2015-08-24 Thread Atila Neves via Digitalmars-d-announce
On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_composition_with_mixins Nice. I've only just started exploring code reuse with template mixins, and used it to great eff

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 12:21:05 UTC, Per Nordlöw wrote: On Monday, 3 August 2015 at 11:51:24 UTC, Atila Neves wrote: Yes. `cerealise` and `decerealise`. The former is slightly weird for performance reasons. It takes a lambda that tells it what to do with the resulting bytes. Close with L

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 11:43:15 UTC, Per Nordlöw wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: http://code.dlang.org/packages/cerealed What's new? * Performance improvements * New UDAs for networking packets for even less required boilerplate The first new thing i

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 10:37:05 UTC, Dmitry Olshansky wrote: On 03-Aug-2015 12:27, Dicebot wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: [...] This deserialization will be identical to casting like this, right? (Not trying to diminish your work, just making sure I

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 11:13:50 UTC, Walter Bright wrote: On 8/3/2015 2:21 AM, Atila Neves wrote: [...] Please put this as the first comment on the reddit post. Which one? Atila

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 09:27:03 UTC, Dicebot wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: The summary is you can now write this: struct UdpPacket { static struct Header { ushort srcPort; ushort dstPort; ushort length;

Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/cerealed What's new? * Performance improvements * New UDAs for networking packets for even less required boilerplate The first new thing is self-explanatory. The second one is explained briefly in this blog post: https://www.reddit.com/r/programming/comments/

std.data.json formal review

2015-07-29 Thread Atila Neves via Digitalmars-d-announce
http://forum.dlang.org/thread/nbuhouhimowvcqssv...@forum.dlang.org

Re: Last - but not least! - two DConf talks

2015-07-16 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 15 July 2015 at 19:28:13 UTC, Jacob Carlborg wrote: On 2015-07-13 09:12, Atila Neves wrote: https://www.reddit.com/r/programming/comments/3d3ooa/behaviourdriven_development_with_d_and_cucumber/ Also on HN, but as usual can't post the link. The comment about not having to name

Re: Last - but not least! - two DConf talks

2015-07-16 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 16 July 2015 at 08:26:58 UTC, Marc Schütz wrote: On Wednesday, 15 July 2015 at 19:28:13 UTC, Jacob Carlborg wrote: On 2015-07-13 09:12, Atila Neves wrote: https://www.reddit.com/r/programming/comments/3d3ooa/behaviourdriven_development_with_d_and_cucumber/ Also on HN, but as usu

Re: Last - but not least! - two DConf talks

2015-07-15 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 14 July 2015 at 20:18:40 UTC, Brad Anderson wrote: On Monday, 13 July 2015 at 07:12:48 UTC, Atila Neves wrote: On Friday, 10 July 2015 at 18:33:04 UTC, Andrei Alexandrescu wrote: Spread the word! https://www.youtube.com/watch?v=bxSPCmwqgYs https://www.youtube.com/watch?v=jNQF3m5e2l

Re: Last - but not least! - two DConf talks

2015-07-13 Thread Atila Neves via Digitalmars-d-announce
On Friday, 10 July 2015 at 18:33:04 UTC, Andrei Alexandrescu wrote: Spread the word! https://www.youtube.com/watch?v=bxSPCmwqgYs https://www.youtube.com/watch?v=jNQF3m5e2l0 Andrei https://www.reddit.com/r/programming/comments/3d3ooa/behaviourdriven_development_with_d_and_cucumber/ Also on HN

Re: Voting for std.experimental.allocator

2015-07-09 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 8 July 2015 at 11:33:03 UTC, Dicebot wrote: Andrei is back online and thus it is time to make a decision about adding his allocator package (http://forum.dlang.org/post/vfipmwojmvseqxoiw...@forum.dlang.org) to Phobos std.experimental [...] Yes.

For emacs users: flycheck-dmd-dub 0.8: string imports

2015-06-15 Thread Atila Neves via Digitalmars-d-announce
https://github.com/atilaneves/flycheck-dmd-dub Besides simply updating the package with Emacs itself, call flycheck-dmd-dub-init-variables now from your init.el/.emacs and string imports should be set from dub so no more pesky flycheck errors. Atila

reggae v0.2.3: minimal build, reggae as a library

2015-06-10 Thread Atila Neves via Digitalmars-d-announce
https://github.com/atilaneves/reggae Ask, and ye shall receive: Stick -version=minimal when building reggae itself (or use the minimal_bootstrap.sh in the repo) and reggae has no dependencies on anything. All it can do then is D builds and the only backend is the binary one. No dub support ei

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread Atila Neves via Digitalmars-d-announce
On Monday, 8 June 2015 at 08:47:21 UTC, Kagamin wrote: On Monday, 8 June 2015 at 08:00:12 UTC, Atila Neves wrote: But... if we're to think of replacing the current Makefiles for dmd, druntime and phobos, and if the build descriptions that are to replace them are to be truly cross-platform, then

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread Atila Neves via Digitalmars-d-announce
On Monday, 8 June 2015 at 06:59:26 UTC, weaselcat wrote: On Monday, 8 June 2015 at 05:51:58 UTC, Atila Neves wrote: On Sunday, 7 June 2015 at 12:06:52 UTC, Kagamin wrote: On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos)

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 12:06:52 UTC, Kagamin wrote: On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos) how to strip it down to its bare essentials and have a core set of source files that only knows how to build D code,

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 05:30:56 UTC, ketmar wrote: On Sat, 06 Jun 2015 20:07:20 +, Atila Neves wrote: Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called "build" in the build direc

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 02:04:33 UTC, Mike wrote: On Saturday, 6 June 2015 at 20:07:22 UTC, Atila Neves wrote: Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called "build" in the build dir

Reggae binary backend: build your project with a D compiled executable

2015-06-06 Thread Atila Neves via Digitalmars-d-announce
Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called "build" in the build directory (i.e. wherever the CWD was when calling the tool) that knows how to build the project. If needed, there i

<    1   2   3   4   >