Re: ArithEval v0.5.0 released

2018-01-07 Thread thedeemon via Digitalmars-d-announce

On Sunday, 7 January 2018 at 20:41:57 UTC, Dechcaudron wrote:
It allows the runtime evaluation of simple math expressions 
like `1 + 2 * 3` or `1 ^ foo`, with foo being given values at 
run time.


That's a nice exercise in using Pegged.
Reminds me of another Pegged-based calculator with variables, 
more operations, more precision and more permissive license:

http://code.dlang.org/packages/pc

It hasn't been updated in 4 years but still can be built by Dub 
automatically, that's how stable D is these days!




Re: LDC 1.7.0

2018-01-07 Thread German Diago via Digitalmars-d-announce

On Sunday, 7 January 2018 at 12:22:17 UTC, John Colvin wrote:

On Saturday, 6 January 2018 at 16:25:46 UTC, German Diago wrote:
- want no gc? Ok, at least there is BetterC, so if I invest 
myself quite a bit on D (I am the kind of programmer that 
likes to squeeze power out of machines, so this always means 
that I will not consider VM languages), I will always have.


Also, it's perfectly possible to avoid most of the downsides of 
the GC (and keep some of the upsides) without worrying about 
BetterC. @nogc where you need it is great, BetterC is a much 
more extreme solution.


Yes, that is my guess also, but there are chances that I will be 
in these extreme situations myself, not for my pet projects, but 
for some embedded stuff I want to do. That is why I want 
something without runtime for microcontrollers at some point. 
Just to have the possibility open. For now I think I will stick 
to C++ for that (a subset) until I am confident D can do 
perfectly ok there. I know D is designed for that also (modulo GC 
and runtime) but I still need to see the practical, day to day 
problems if I use D for such a thing instead of C++, which I know 
quite well.


Re: LDC 1.7.0

2018-01-07 Thread German Diago via Digitalmars-d-announce

On Monday, 8 January 2018 at 03:14:32 UTC, Joakim wrote:

On Saturday, 6 January 2018 at 16:25:46 UTC, German Diago wrote:
negative points also as I use it :p. By the way, and a bit 
off-topic for the post, but, if I want to port my code to run 
on Android/iOS, what is the recommended way?


1. create a shared library and consume it? Is that possible 
and smooth enough for ARM?


Yes, that is the way native apps are invoked on Android, see 
the wiki for more info:


http://wiki.dlang.org/Build_D_for_Android

iOS support is in limbo, as a contributor got very far with it 
but hasn't had time for it lately.


Thanks for the link!



Re: LDC 1.7.0

2018-01-07 Thread Joakim via Digitalmars-d-announce

On Saturday, 6 January 2018 at 16:25:46 UTC, German Diago wrote:
negative points also as I use it :p. By the way, and a bit 
off-topic for the post, but, if I want to port my code to run 
on Android/iOS, what is the recommended way?


1. create a shared library and consume it? Is that possible and 
smooth enough for ARM?


Yes, that is the way native apps are invoked on Android, see the 
wiki for more info:


http://wiki.dlang.org/Build_D_for_Android

iOS support is in limbo, as a contributor got very far with it 
but hasn't had time for it lately.




Re: ArithEval v0.5.0 released

2018-01-07 Thread angel via Digitalmars-d-announce

On Sunday, 7 January 2018 at 20:41:57 UTC, Dechcaudron wrote:
Updating this library I coded more than a year ago, so that I 
could use it as an optional dependency of the coming up dli 
library.


It allows the runtime evaluation of simple math expressions 
like `1 + 2 * 3` or `1 ^ foo`, with foo being given values at 
run time.


It was never announced in this forum, so it is likely most of 
you never heard of it. The README pretty much sums up all there 
is to see, but do let me know if you guys have any specific 
doubt. Feedback is greatly appreciated.


Very cool !


Re: iopipe alpha 0.0.1 version

2018-01-07 Thread Bastiaan Veelo via Digitalmars-d-announce

On Monday, 16 October 2017 at 20:58:43 UTC, Martin Nowak wrote:
On Friday, 13 October 2017 at 17:08:18 UTC, Steven 
Schveighoffer wrote:
I keep https://github.com/MartinNowak/bloom also as 
example/scaffold repo, it's using an automated docs setup 
with gh-branches.


Just create a doc deployment token 
(https://github.com/settings/tokens) with public_repo access 
and store that encrypted in your .travis-ci.yml.


Martin, I would appreciate and I think many people would, a 
blog/tutorial on how to do this.


Indeed, that already crossed my mind a couple of times ;).


I am searching for a blog like that. Is it been written yet?


ArithEval v0.5.0 released

2018-01-07 Thread Dechcaudron via Digitalmars-d-announce
Updating this library I coded more than a year ago, so that I 
could use it as an optional dependency of the coming up dli 
library.


It allows the runtime evaluation of simple math expressions like 
`1 + 2 * 3` or `1 ^ foo`, with foo being given values at run time.


It was never announced in this forum, so it is likely most of you 
never heard of it. The README pretty much sums up all there is to 
see, but do let me know if you guys have any specific doubt. 
Feedback is greatly appreciated.


Re: The D Blog in 2017

2018-01-07 Thread Mengu via Digitalmars-d-announce

On Saturday, 6 January 2018 at 16:08:06 UTC, Mike Parker wrote:
My annual retrospective on the D Blog is up. Managing the blog 
really is a lot of fun for me. Every time I click the publish 
button I stay glued to reddit and the stats page to see how 
it's being received, with a glance now and again at the forum 
announcement to see what sort of mistakes I missed, often well 
past my bedtime (I love living in Korea, but the time zone can 
be rather inconvenient!).


Here, I list the new blog features I enjoyed working on in 2017 
and, my favorite part, some stats. I wrap up with a bit about 
what to expect in 2018.


Blog:
https://dlang.org/blog/2018/01/06/the-d-blog-in-2017/

Reddit:
https://www.reddit.com/r/d_language/comments/7ok098/the_d_blog_in_2017/


thanks for the great job  mike. we appreciate it. i'm enjoying 
the GC series myself.


Re: LDC 1.7.0

2018-01-07 Thread John Colvin via Digitalmars-d-announce

On Saturday, 6 January 2018 at 16:25:46 UTC, German Diago wrote:
- want no gc? Ok, at least there is BetterC, so if I invest 
myself quite a bit on D (I am the kind of programmer that likes 
to squeeze power out of machines, so this always means that I 
will not consider VM languages), I will always have.


Also, it's perfectly possible to avoid most of the downsides of 
the GC (and keep some of the upsides) without worrying about 
BetterC. @nogc where you need it is great, BetterC is a much more 
extreme solution.