Re: 1.0.0 is here

2019-10-23 Thread miran
Exactly one month after the release of 1.0.0, it is time for our first patch 
release: **Nim 1.0.2**

This version contains more than 50 fixes since v1.0.0. The list of changes can 
be seen [here](https://github.com/nim-lang/Nim/compare/v1.0.0...v1.0.2).


Re: 1.0.0 is here

2019-09-30 Thread tedlavarias
That's what brought me here! Nim's announcement of going 1.0.0 showed up on my 
Google News feed so I took a look... And lo' and behold, this is exactly what 
I've always been hoping for! A language that combines the elegance of Python, 
with the safety of Pascal/Ada, and the power/speed of C! I thought it was too 
good to be true... When browsing through some sample Nim code, I was still 
hoping I would see := as the assignment operator though... I hope I can find 
something I can contribute to! :)


Re: 1.0.0 is here

2019-09-28 Thread cdunn2001
I'm disappointed that 1.0 was released without fixing the deadlock in resizing 
**threadpoll**.

  * 
[https://github.com/nim-lang/Nim/issues/11875](https://github.com/nim-lang/Nim/issues/11875)
  * 
[https://forum.nim-lang.org/t/5212#32697](https://forum.nim-lang.org/t/5212#32697)
 -> 
[https://github.com/yglukhov/threadpools](https://github.com/yglukhov/threadpools)
 (thankfully)




Re: 1.0.0 is here

2019-09-27 Thread GordonBGood
@jehan: Thanks for the summary on Boehm; thought the disadvantage might be 
latency, but as you say only a big problem if one does a lot of 
allocations/deallocations.

@Araq: If you are impressed with Boehm (other than if latency is a problem) as 
compared to the current default, it must be good and it looks like I'll have to 
try it.


Re: 1.0.0 is here

2019-09-26 Thread Araq
@Jehan: Recently I've seen Boehm produce the fastest Nim compiler, faster by 
10-20% as the Nim compiler is allocation happy. So IME this benchmark can be 
representative for real-world imperative code.


Re: 1.0.0 is here

2019-09-26 Thread Jehan
> Thank's for the link to your GC benchmarks; They really show how good Boehm 
> can be. What are Boehm's disadvantages compared to the others?

  1. It's a stop-the-world collector, sacrificing latency for throughput. While 
pause times are still typically only a fraction of a second unless you're using 
very large heaps, they're still too big for latency-sensitive applications. It 
can be a perfectly good choice for batch programs, especially parallelized data 
crunching, or even some interactive applications that aren't too sensitive to 
latency.
  2. It's a fully conservative GC; unlike the native Nim GC options, it does 
not just scan the stack conservatively, but any object or memory region that 
may contain pointers. On 32-bit systems in particular, this can lead to 
problems with memory being retained even though it's inaccessible. While you 
can in principle configure the Boehm GC so that only the stack is scanned 
conservatively (as for the Nim GC), this would require quite a bit of work, as 
you'd have to specify type layout and roots in the way that the Boehm GC 
expects it.



I'll also add (as noted in the readme file) that the performance differences 
are inflated compared to well-written real world imperative programs. The 
benchmark does almost nothing but allocating and deallocating memory, while 
real world imperative programs should at most spend 10%-20% of their time on 
it. The reason why I wrote the benchmark was not to actually make some 
universal statement about allocation performance, but to debunk a particularly 
ignorant article about how GC cannot be competitive with malloc() without 
incurring massive overhead. For that, I had to construct something of a worst 
case situation.

For most imperative applications where you don't need to tweak performance or 
need specific GC features, the choice of GC shouldn't matter much, as the bulk 
of the time will be spent doing non-allocation related work.


Re: 1.0.0 is here

2019-09-26 Thread sanjay
Congratulations to Araq and the Nim community. Wishing Nim language a super 
success.


Re: 1.0.0 is here

2019-09-26 Thread Hendrik
Congratulations Araq and everyone who contributed and for your hard work. Can't 
wait to learn this language! 


Re: 1.0.0 is here

2019-09-26 Thread Araq
And we produced our first commercial: 
[https://www.youtube.com/watch?v=P8oJUGVbOlQ](https://www.youtube.com/watch?v=P8oJUGVbOlQ)


Re: 1.0.0 is here

2019-09-25 Thread GordonBGood
@Araq: Thanks for the update:

> we actually have two competing designs and whatever supports async first will 
> "win".

That's news to me. As you know, I've been a convert to the "owned ref's" 
newruntime. Any quick words on the proposed alternative? Is it a version of 
automatic reference counting?

Yes, perhaps we should revisit the Boehm Garbage Collector...

@jehan:

> The Boehm GC is also, contrary to popular belief, a very good option...

Thank's for the link to your GC benchmarks; They really show how good Boehm can 
be. What are Boehm's disadvantages compared to the others?


Re: 1.0.0 is here

2019-09-25 Thread ffred60
nice to see that the v1.0 is commented on many websites.. :-)

one more : 
[https://www.theregister.co.uk/2019/09/24/nim_version_1](https://www.theregister.co.uk/2019/09/24/nim_version_1)/


Re: 1.0.0 is here

2019-09-25 Thread Jehan
> If you want a shared heap, `--gc:boehm` is also a very valid, supported 
> alternative. I wonder why I keep forgetting about `--gc:boehm`.

The Boehm GC is also, contrary to popular belief, a very [good 
option](https://github.com/rbehrends/btree-alloc) for a high throughput 
stop-the-world GC in general. It has both been pretty heavily tuned in recent 
years and supports parallel mark and sweep, which also shortens pause times.


Re: 1.0.0 is here

2019-09-25 Thread jhoney
Congratulations. Looking forward to IC. 


Re: 1.0.0 is here

2019-09-25 Thread LeFF
Discussion on the Dlang forums: 
[https://forum.dlang.org/thread/hsvbknmmwgspnkfvf...@forum.dlang.org](https://forum.dlang.org/thread/hsvbknmmwgspnkfvf...@forum.dlang.org)


Re: 1.0.0 is here

2019-09-25 Thread miran
> Here is Julia's: 
> [https://discourse.julialang.org/t/version-1-0-released-of-nim-programming-language/29099/16](https://discourse.julialang.org/t/version-1-0-released-of-nim-programming-language/29099/16)

And here we go once again, people who didn't even bother to see how 
style-insensitivity works in Nim:

> Case-insensitivity sounds like a terrible feature, and would break much of my 
> code. `N` and `n`, `A` and `a`, `i` and `I`.

I don't have an account there, so if somebody wishes to reply there, tell @DNF 
that all these are distinct, as the first character is case sensitive.


Re: 1.0.0 is here

2019-09-25 Thread Arrrrrrrrr
Congratulations. Looking forward to IC.


Re: 1.0.0 is here

2019-09-24 Thread simpleelegant
Everyday I opened Nim homepage to check whether 1.0 is arrived. 


Re: 1.0.0 is here

2019-09-24 Thread Sixte
Finally!! This is really good news. Congrats to Araq and anyone of the devel 
team. 


Re: 1.0.0 is here

2019-09-24 Thread aguspiza2
It happened!!! Congrats!!! Long life to this wonderful language.


Re: 1.0.0 is here

2019-09-24 Thread siloamx
Awesome! Now I can use Nim in production.


Re: 1.0.0 is here

2019-09-24 Thread LeFF
That's great news! Thanks to all the people involved!


Re: 1.0.0 is here

2019-09-24 Thread bpr
Congratulations to the entire Nim team. It's about time! Now, when is Nim 2.0 
coming out? :-P


Re: 1.0.0 is here

2019-09-24 Thread jyapayne
Congrats guys! Nice work :)


Re: 1.0.0 is here

2019-09-24 Thread mikebelanger
I'd just like to thank all the developers who contributed to this. What stands 
out for me is the new importjs pragma. Much more intuitive than the importcpp 
thing. Great work!


Re: 1.0.0 is here

2019-09-24 Thread allochi
Congratulations! This is an great news!!! Well done!


Re: 1.0.0 is here

2019-09-24 Thread Araq
> A great day for Nim. (day, when console support got broken even more than 
> ever)

Worked for us and was tested on three different terminals... ;-)


Re: 1.0.0 is here

2019-09-24 Thread zolern
Great day for all of us that love Nim! And the big good news for our Nim are 
yet to come!

Cheers to all Nimsters!


Re: 1.0.0 is here

2019-09-24 Thread Aiesha_Nazarothi
A great day for nim. (day, when console support got broken even more than ever)


Re: 1.0.0 is here

2019-09-24 Thread coffeepot
A great day for Nim! Congratulations to Araq and the entire Nim team, fantastic 
work on a huge milestone!


Re: 1.0.0 is here

2019-09-24 Thread moigagoo
Updated the Docker images: 
[https://cloud.docker.com/u/nimlang/repository/docker/nimlang/nim/tags](https://cloud.docker.com/u/nimlang/repository/docker/nimlang/nim/tags)


Re: 1.0.0 is here

2019-09-24 Thread adrianv
SUCCESS! 


Re: 1.0.0 is here

2019-09-24 Thread Aiesha_Nazarothi
Error: undeclared identifier: 'mode' Hm...


Re: 1.0.0 is here

2019-09-24 Thread aviator
Very cool, congrats to the Nim team!


Re: 1.0.0 is here

2019-09-24 Thread ffred60
great news, thanks.. !!


Re: 1.0.0 is here

2019-09-23 Thread Hideki
Congratulations! Awesome!


Re: 1.0.0 is here

2019-09-23 Thread rockcavera
Congratulations to all Nim's team.


Re: 1.0.0 is here

2019-09-23 Thread bevo009
Awesome news, thanks Araq & dev team!


Re: 1.0.0 is here

2019-09-23 Thread pianopia
Congratulations to all Nim developers and supporters ! This is Extremely 
Awesome !

I wrote japanese post about this fantastic release in my joy :) 
[https://qiita.com/pianopia/items/dcc70f02293e55969e3d](https://qiita.com/pianopia/items/dcc70f02293e55969e3d)


Re: 1.0.0 is here

2019-09-23 Thread amalek
Congratulations to Araq and the team for this epic achievement.

Posting in this thread for posterity's sake. ;-)


Re: 1.0.0 is here

2019-09-23 Thread avandy
Thanks 


Re: 1.0.0 is here

2019-09-23 Thread mitai
Congratulations to the devel team! 


Re: 1.0.0 is here

2019-09-23 Thread vitreo12
This is fantastic news, congratulations to the dev team. You guys are amazing.


Re: 1.0.0 is here

2019-09-23 Thread lscrd
This is a great day for Nim. Many thanks to the development team.


Re: 1.0.0 is here

2019-09-23 Thread lqdev
Congratulations to all Nim developers! So happy that 1.0 is finally here. I'd 
also like to thank the community for being such a warm welcoming group. You're 
all awesome :)


Re: 1.0.0 is here

2019-09-23 Thread cabhishek
Congratulations to all Nim developers on 1.0 release. This is simply amazing. 


Re: 1.0.0 is here

2019-09-23 Thread treeform
Thank you everyone for Nim 1.0. This is great! Awesome! Fantastic!