Exporting C APIs from Zig, D, and Nim (seen on youtube)

2020-04-17 Thread Antonio Corbi via Digitalmars-d-announce
Hi all, Don't know if this[1] has been posted before, I've just seen it and seemed interesting. Hope you also like it. Antonio [1] https://www.youtube.com/watch?v=4o_tmccinds=youtu.be

Re: D vs nim

2018-05-14 Thread aliak via Digitalmars-d
On Monday, 14 May 2018 at 06:14:02 UTC, Rel wrote: On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote: Funnily, none of these languages have a "static if" construct, nor do Rust, Swift and Nim. Not one that I could find, anyway. So what's a big deal in having 'static if' construct? Most of

Re: D vs nim

2018-05-14 Thread Rel via Digitalmars-d
On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote: Funnily, none of these languages have a "static if" construct, nor do Rust, Swift and Nim. Not one that I could find, anyway. So what's a big deal in having 'static if' construct? Most of the new programming languages that compiles to native

Re: D vs nim

2018-05-08 Thread Andrew Kelley via Digitalmars-d
On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote: On Wednesday, 25 April 2018 at 14:18:07 UTC, Rel wrote: In case you guys like to take a quick look at new emerging, but somewhat unknown systems programming languages: * https://www.red-lang.org/ (own handwritten backend) *

Re: D vs nim

2018-05-04 Thread Timothee Cour via Digitalmars-d
i think the explanation in https://nim-lang.org/docs/manual.html#statements-and-expressions-when-statement is pretty clear. In any case you can see for yourself: nim c -r main.nim ```nim proc fun(a:int):auto=a*a static: # makes sure block evaluated at CT when fun(1)==1: echo "ok1" when

Re: D vs nim

2018-05-04 Thread Mark via Digitalmars-d
On Thursday, 3 May 2018 at 23:09:34 UTC, Timothee Cour wrote: nim supports static if (`when`) + CTFE. A simple google search or searching would've revealed that. On Thu, May 3, 2018 at 3:20 PM Mark via Digitalmars-d < digitalmars-d@puremagic.com> wrote: On Thursday, 3 May 2018 at 20:57:16

Re: D vs nim

2018-05-03 Thread Timothee Cour via Digitalmars-d
nim supports static if (`when`) + CTFE. A simple google search or searching would've revealed that. On Thu, May 3, 2018 at 3:20 PM Mark via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Thursday, 3 May 2018 at 20:57:16 UTC, Dennis wrote: > > On Thursday, 3 May 2018 at 19:11:05 UTC,

Re: D vs nim

2018-05-03 Thread Mark via Digitalmars-d
On Thursday, 3 May 2018 at 20:57:16 UTC, Dennis wrote: On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote: Funnily, none of these languages have a "static if" construct, nor do Rust, Swift and Nim. Not one that I could find, anyway. What qualifies under "static if"? Because Rust, Swift and

Re: D vs nim

2018-05-03 Thread Dennis via Digitalmars-d
On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote: Funnily, none of these languages have a "static if" construct, nor do Rust, Swift and Nim. Not one that I could find, anyway. What qualifies under "static if"? Because Rust, Swift and Nim do have conditional compilation.

Re: D vs nim

2018-05-03 Thread Mark via Digitalmars-d
On Wednesday, 25 April 2018 at 14:18:07 UTC, Rel wrote: In case you guys like to take a quick look at new emerging, but somewhat unknown systems programming languages: * https://www.red-lang.org/ (own handwritten backend) * https://crystal-lang.org/ (llvm-based backend) * https://ziglang.org/

Re: D vs nim

2018-05-03 Thread David J Kordsmeier via Digitalmars-d
On Friday, 10 April 2015 at 21:26:35 UTC, bachmeier wrote: On Friday, 10 April 2015 at 18:52:24 UTC, weaselcat wrote: The only things I've read about nim have been on the D forums - it seems the wikipedia article is even being considered for deletion due to not being noteworthy. So I think you

Re: D vs nim

2018-04-25 Thread Rel via Digitalmars-d
In case you guys like to take a quick look at new emerging, but somewhat unknown systems programming languages: * https://www.red-lang.org/ (own handwritten backend) * https://crystal-lang.org/ (llvm-based backend) * https://ziglang.org/ (llvm-based backend) * http://nitlanguage.org/ (c-based

Re: D vs nim

2018-04-25 Thread Rel via Digitalmars-d
As for me, I find the Nim programming language interesting. However I dislike syntax a bit, in some cases Python+Pascal syntax style of Nim looks very ugly in my opinion. Also I strongly against relying on C compiler for code generation, knowing how slow it can be. Obviously it was easy for

Re: D vs nim

2018-04-20 Thread jmh530 via Digitalmars-d
On Friday, 20 April 2018 at 11:07:30 UTC, Russel Winder wrote: Has anyone got Pony on their list of interesting languages? I had spent some time looking over the reference capabilities [1], but I'm not sure I have the time to actually program in the language. The isolated type seemed like

Re: D vs nim

2018-04-20 Thread Nordlöw via Digitalmars-d
On Friday, 20 April 2018 at 11:07:30 UTC, Russel Winder wrote: On Thu, 2018-04-19 at 16:50 +, Per Nordlöw via Digitalmars-d wrote: On Friday, 10 April 2015 at 18:52:24 UTC, weaselcat wrote: > P.S., the example on the language's frontpage is cool! > > http://nim-lang.org/ > > Why should I

Re: D vs nim

2018-04-20 Thread Russel Winder via Digitalmars-d
On Thu, 2018-04-19 at 16:50 +, Per Nordlöw via Digitalmars-d wrote: > On Friday, 10 April 2015 at 18:52:24 UTC, weaselcat wrote: > > P.S., the example on the language's frontpage is cool! > > > > http://nim-lang.org/ > > > > Why should I be excited? > > Nim is the only language that

Re: D vs nim

2018-04-19 Thread Per Nordlöw via Digitalmars-d
On Friday, 10 April 2015 at 18:52:24 UTC, weaselcat wrote: P.S., the example on the language's frontpage is cool! http://nim-lang.org/ Why should I be excited? Nim is the only language that leverages automated proof technology to perform a disjoint check for your parallel code. Working on

Re: D vs nim

2018-04-19 Thread John Belmonte via Digitalmars-d
On Tuesday, 27 March 2018 at 01:19:44 UTC, timotheecour wrote: I've created a git repo https://github.com/timotheecour/D_vs_nim/ with the goal: up to date and objective comparison of features between D and nim, and 1:1 map of features, tools, idioms and libraries to help D users learn nim

Re: D vs nim

2018-04-13 Thread Timothee Cour via Digitalmars-d
@helxi I invite you to contribute PR's to https://github.com/timotheecour/D_vs_nim/ where I discuss feature parity and how to translate concepts from D to nim wherever it makes sense On Fri, Apr 13, 2018 at 4:12 PM, helxi via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On F

Re: D vs nim

2018-04-13 Thread helxi via Digitalmars-d
On Friday, 10 April 2015 at 18:42:20 UTC, Timothee Cour wrote: Nim looks very promising. Is there any comprehensive comparison against D somewhere (if possible recent) ? Nim is way more expressive than D afaik. Consider the following imaginary function: proc fn[A : int | float; N; B :

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-04-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-03-30 08:53, Dmitry Olshansky wrote: With the frame of mind prevalent in our Industry I really want to have compiler includibg codegen as a bunch of library components. Then there is no problem innovating while people argue over things “allowed” for a compiler, or a linker, or a

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-31 Thread Chris Katko via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote: D and nim are both very promising. I created this git repo to compare them: https://github.com/timotheecour/D_vs_nim/ Goal: up to date and objective comparison of features between D and nim (to help deciding what language to use

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-30 Thread Dmitry Olshansky via Digitalmars-d-announce
On Wednesday, 28 March 2018 at 23:25:09 UTC, Walter Bright wrote: On 3/28/2018 1:27 PM, Jacob Carlborg wrote: There's usually nothing that prevents the build tool to write files at build time. Dub can do this. It's expected with a build tool. Not a compiler. With the frame of mind prevalent

Re: D vs nim

2018-03-29 Thread Ali via Digitalmars-d
On Thursday, 29 March 2018 at 03:57:05 UTC, Arun Chandrasekaran wrote: On Tuesday, 27 March 2018 at 23:23:10 UTC, Timothee Cour wrote: This is deterministic destruction and not RAII. Resource is never *acquired* here. Lack of default constructors for struct in D makes it impossible to

Re: D vs nim

2018-03-29 Thread Shachar Shemesh via Digitalmars-d
On 29/03/18 14:03, Maksim Fomin wrote: On Thursday, 29 March 2018 at 09:45:04 UTC, Shachar Shemesh wrote: Not so long as destructors don't reliably run. $ rdmd test.d A(1) constructed A(2) constructed A(1) destructed Caught: Constructor failed https://issues.dlang.org/show_bug.cgi?id=14246

Re: D vs nim

2018-03-29 Thread Maksim Fomin via Digitalmars-d
On Thursday, 29 March 2018 at 09:45:04 UTC, Shachar Shemesh wrote: Not so long as destructors don't reliably run. $ rdmd test.d A(1) constructed A(2) constructed A(1) destructed Caught: Constructor failed https://issues.dlang.org/show_bug.cgi?id=14246 Good catch. This is a variant of bug

Re: D vs nim

2018-03-29 Thread Shachar Shemesh via Digitalmars-d
On 28/03/18 02:23, Timothee Cour wrote: that comment was regarding -betterC RAII (with structs) has been available in D for a while, eg: ```d struct A{ ~this(){...} } void fun(){ A a; // when a goes out of scope, will call dtor deterministically } ``` Not so long as destructors don't

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-29 Thread Jacob Carlborg via Digitalmars-d-announce
On Wednesday, 28 March 2018 at 23:25:09 UTC, Walter Bright wrote: It's expected with a build tool. Not a compiler. It depends. The compilers are doing more and more work these days. Initially, DMD could not build libraries, now it can. DMD does not output assembly files and runs an

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread Dmitry Olshansky via Digitalmars-d-announce
On Wednesday, 28 March 2018 at 23:29:28 UTC, Walter Bright wrote: On 3/28/2018 1:50 PM, Dmitry Olshansky wrote: Safety - not so much. I remember back in the olden dayz when Microsoft was pushing ActiveX controls hard. ActiveX controls were blobs of code automatically downloaded from the

Re: D vs nim

2018-03-28 Thread Arun Chandrasekaran via Digitalmars-d
On Tuesday, 27 March 2018 at 23:23:10 UTC, Timothee Cour wrote: that comment was regarding -betterC RAII (with structs) has been available in D for a while, eg: ```d struct A{ ~this(){...} } void fun(){ A a; // when a goes out of scope, will call dtor deterministically } ``` On Tue,

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Mar 28, 2018 at 04:29:28PM -0700, Walter Bright via Digitalmars-d-announce wrote: > On 3/28/2018 1:50 PM, Dmitry Olshansky wrote: > > Safety - not so much. > > I remember back in the olden dayz when Microsoft was pushing ActiveX > controls hard. ActiveX controls were blobs of code

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread Walter Bright via Digitalmars-d-announce
On 3/28/2018 1:50 PM, Dmitry Olshansky wrote: Safety - not so much. I remember back in the olden dayz when Microsoft was pushing ActiveX controls hard. ActiveX controls were blobs of code automatically downloaded from the internet that were embedded in your spreadsheet, word document, etc.

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread Walter Bright via Digitalmars-d-announce
On 3/28/2018 1:27 PM, Jacob Carlborg wrote: There's usually nothing that prevents the build tool to write files at build time. Dub can do this. It's expected with a build tool. Not a compiler.

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread Cym13 via Digitalmars-d-announce
On Wednesday, 28 March 2018 at 20:50:51 UTC, Dmitry Olshansky wrote: On Tuesday, 27 March 2018 at 21:49:16 UTC, Walter Bright wrote: On 3/27/2018 5:11 AM, Guillaume Piolat wrote: - ability to write file during CTFE is not necessarily positive. THough I can't tell why from the top of my mind.

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread Dmitry Olshansky via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 21:49:16 UTC, Walter Bright wrote: On 3/27/2018 5:11 AM, Guillaume Piolat wrote: - ability to write file during CTFE is not necessarily positive. THough I can't tell why from the top of my mind. The act of compiling a buggy program not influence the global state

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-03-27 23:49, Walter Bright wrote: The act of compiling a buggy program not influence the global state of the computer. It should not be necessary to vet code downloaded from the internet before even compiling it to ensure it doesn't mess up the system. There's usually nothing that

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread Kagamin via Digitalmars-d-announce
Did they figure out how to pass data between threads?

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread meppl via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 04:46:21 UTC, meppl wrote: On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote: ... Sometimes I want to use a debugger like gdc. If it works, it can be really useful. I skipped trying out Nim, because debugging was not really supported. I wonder, if

Re: D vs nim

2018-03-27 Thread Stefan Koch via Digitalmars-d
On Tuesday, 27 March 2018 at 12:02:37 UTC, jmh530 wrote: On Wednesday, 22 April 2015 at 06:03:07 UTC, Timothee Cour wrote: [snip] I would like to refocus this thread on feature set and how it compares to D, not on flame wars about brackets or language marketing issues. In the comparison

Re: D vs nim

2018-03-27 Thread Timothee Cour via Digitalmars-d
wrote: >>> >>> >>> I would like to refocus this thread on feature set and how it compares to >>> D, not on flame wars about brackets or language marketing issues. >> >> >> >> I've created a git repo https://github.com/timotheecour/D_vs_nim/ with

Re: D vs nim

2018-03-27 Thread Ali via Digitalmars-d
s to D, not on flame wars about brackets or language marketing issues. I've created a git repo https://github.com/timotheecour/D_vs_nim/ with the goal: up to date and objective comparison of features between D and nim, and 1:1 map of features, tools, idioms and libraries to help D users lea

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-27 Thread Walter Bright via Digitalmars-d-announce
On 3/27/2018 5:11 AM, Guillaume Piolat wrote: - ability to write file during CTFE is not necessarily positive. THough I can't tell why from the top of my mind. The act of compiling a buggy program not influence the global state of the computer. It should not be necessary to vet code

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-27 Thread Uknown via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 14:51:30 UTC, bachmeier wrote: On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote: D and nim are both very promising. I created this git repo to compare them: https://github.com/timotheecour/D_vs_nim/ Goal: up to date and objective comparison

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-27 Thread bachmeier via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote: D and nim are both very promising. I created this git repo to compare them: https://github.com/timotheecour/D_vs_nim/ Goal: up to date and objective comparison of features between D and nim (to help deciding what language to use

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-27 Thread bauss via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 12:11:58 UTC, Guillaume Piolat wrote: - ability to write file during CTFE is not necessarily positive. THough I can't tell why from the top of my mind. Only thing I can think of is that 3rd party modules can end up writing to your file-system during compilation

Re: D vs nim

2018-03-27 Thread rikki cattermole via Digitalmars-d
On 28/03/2018 1:02 AM, jmh530 wrote: On Wednesday, 22 April 2015 at 06:03:07 UTC, Timothee Cour wrote: [snip] I would like to refocus this thread on feature set and how it compares to D, not on flame wars about brackets or language marketing issues. In the comparison you made

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-27 Thread Guillaume Piolat via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote: D and nim are both very promising. I created this git repo to compare them: https://github.com/timotheecour/D_vs_nim/ Goal: up to date and objective comparison of features between D and nim (to help deciding what language to use

Re: D vs nim

2018-03-27 Thread jmh530 via Digitalmars-d
On Wednesday, 22 April 2015 at 06:03:07 UTC, Timothee Cour wrote: [snip] I would like to refocus this thread on feature set and how it compares to D, not on flame wars about brackets or language marketing issues. In the comparison you made https://github.com/timotheecour/D_vs_nim/ you say

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-26 Thread meppl via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote: D and nim are both very promising. I created this git repo to compare them: https://github.com/timotheecour/D_vs_nim/ Goal: up to date and objective comparison of features between D and nim (to help deciding what language to use

D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-26 Thread timotheecour via Digitalmars-d-announce
D and nim are both very promising. I created this git repo to compare them: https://github.com/timotheecour/D_vs_nim/ Goal: up to date and objective comparison of features between D and nim (to help deciding what language to use), and 1:1 map of features and libraries to help D users learn

Re: D vs nim

2018-03-26 Thread timotheecour via Digitalmars-d
issues. I've created a git repo https://github.com/timotheecour/D_vs_nim/ with the goal: up to date and objective comparison of features between D and nim, and 1:1 map of features, tools, idioms and libraries to help D users learn nim and vice versa.

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-16 Thread Laeeth Isharc via Digitalmars-d
On Tuesday, 16 June 2015 at 08:54:01 UTC, Chris wrote: So the implication that use of the nonstandard form would lead to confusion is pure pedantry. Yes, indeed. Much of the difficulty with discussions of language in the modern world comes from not making a distinction between its denotative

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-16 Thread Chris via Digitalmars-d
On Tuesday, 16 June 2015 at 16:34:59 UTC, Laeeth Isharc wrote: On Tuesday, 16 June 2015 at 08:54:01 UTC, Chris wrote: So the implication that use of the nonstandard form would lead to confusion is pure pedantry. Yes, indeed. Much of the difficulty with discussions of language in the modern

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-16 Thread Chris via Digitalmars-d
On Sunday, 14 June 2015 at 09:38:02 UTC, Alix Pexton wrote: On 12/06/2015 12:48 PM, Chris wrote: man is still used as a gender neutral pronoun in German, however, for some reason it's frowned upon these days, just like one in English. It's considered arrogant and old fashioned, but it's effin

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-14 Thread Alix Pexton via Digitalmars-d
On 12/06/2015 12:48 PM, Chris wrote: man is still used as a gender neutral pronoun in German, however, for some reason it's frowned upon these days, just like one in English. It's considered arrogant and old fashioned, but it's effin useful and solves a lot of problems. Mind you, decisions made

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-14 Thread Alix Pexton via Digitalmars-d
On 12/06/2015 10:37 PM, Nick Sabalausky wrote: Yea, I'm fine with ain't being considered an actual word. Years ago, I used to hear a lot of 'Ain't' isn't a real word, but meh, it's used as a word, even the people who don't like it still know full-well exactly what it means, so...I ain't got a

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-13 Thread Mike Parker via Digitalmars-d
On 6/13/2015 10:26 AM, Tofu Ninja wrote: Actually I think it matters more if the person you are talking to knows the gender of the person you are talking about, in the shop sentence the gender of the friend is unknown to the person you are talking to so they still works. So then, use the

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Alix Pexton via Digitalmars-d
On 12/06/2015 2:53 AM, Walter Bright wrote: On 6/10/2015 12:56 PM, Russel Winder via Digitalmars-d wrote: Please note, OED (which is the definition of the English language whatever any USA upstarts may try to pretend) is gearing up to define they as both singular and plural, thus at a stroke

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Alix Pexton via Digitalmars-d
On 11/06/2015 2:30 AM, weaselcat wrote: On Thursday, 11 June 2015 at 00:57:34 UTC, Tofu Ninja wrote: On Wednesday, 10 June 2015 at 20:14:10 UTC, Nick Sabalausky wrote: Contrary to technical official definition, in REAL WORLD usage, he is BOTH a masuline AND a gender-neutral pronoun. A few

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Chris via Digitalmars-d
On Friday, 12 June 2015 at 02:12:39 UTC, Brian Rogoff wrote: On Wednesday, 10 June 2015 at 19:57:15 UTC, Russel Winder wrote: Please note, OED (which is the definition of the English language whatever any USA upstarts may try to pretend) Glad to hear it. Please tell your countrymen to prefer

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 11:13:08 UTC, Chris wrote: -ise. If you have a new generation of Englishmen that were taught -ize, they would find -ise strange. It's ridiculous how people get attached to stuff like this. I have to admit I use -ize over -ise because I think it visually looks

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Jacob Carlborg via Digitalmars-d
On 2015-06-12 01:52, Walter Bright wrote: I'm in the compiler business: https://www.youtube.com/watch?v=DwIyClDuBgo You're in the Empire business as well ;) Or was. -- /Jacob Carlborg

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Chris via Digitalmars-d
On Friday, 12 June 2015 at 11:35:30 UTC, Ola Fosheim Grøstad wrote: On Friday, 12 June 2015 at 11:13:08 UTC, Chris wrote: -ise. If you have a new generation of Englishmen that were taught -ize, they would find -ise strange. It's ridiculous how people get attached to stuff like this. I have

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Nick Sabalausky via Digitalmars-d
On 06/11/2015 06:35 PM, deadalnix wrote: On Thursday, 11 June 2015 at 20:44:52 UTC, Ola Fosheim Grøstad wrote: On Thursday, 11 June 2015 at 20:14:24 UTC, Kagamin wrote: https://youtu.be/VjNVPO8ff84 :3 https://youtu.be/bJDY5zTiWUk maybe this too(?) Never heard those before, those are really

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 18:32:22 UTC, Tofu Ninja wrote: On Friday, 12 June 2015 at 15:19:40 UTC, Ola Fosheim Grøstad wrote: My friend came in to the shop today and the entire time they just kept asking for corks... For me that sounds 100% fine... Ah, ok. I found this link interesting:

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 19:16:39 UTC, Nick Sabalausky wrote: Banned in the US: Public Image Limited - This Is Not A Love Song and SABRINA - Boys (Video Original) - HD. Banned? Oh well, Lydon of Sex Pistols is an anarchist and Sabrina shows of her tits with a wardrobe malfunction. I guess

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Tobias Müller via Digitalmars-d
Dave whate...@whatever.com wrote: On Thursday, 11 June 2015 at 20:06:45 UTC, Kagamin wrote: On Thursday, 11 June 2015 at 18:17:01 UTC, Dave wrote: Disagree. Traditionally also handled by throwing exceptions. C# throws a Format exception if a parse fails.

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 19:52:56 UTC, Ola Fosheim Grøstad wrote: was not related to english singular they… but it could also come from Sie through the trade German influence in Bergen around 1300… Or more likely Danish… I think they have same polite singular form De. It makes sense that

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Dave via Digitalmars-d
Originally (.Net 1) there was only 'Parse', 'TryParse' came in .Net 2, I guess they had to admit that exceptions are not always practical. I think TryParse (and anything marked prefixed with Try) is meant for quick stuff. It doesn't return any error. Just a boolean indicating that it failed.

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread deadalnix via Digitalmars-d
On Friday, 12 June 2015 at 19:16:39 UTC, Nick Sabalausky wrote: Here is a nice documentary about the 80s : https://www.youtube.com/watch?v=bS5P_LAqiVg Wow, just watched the first minute, that's freaking sweet! Definitely gonna watch the rest of that later. The historical accuracy is indeed

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Nick Sabalausky via Digitalmars-d
On 06/12/2015 03:58 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Friday, 12 June 2015 at 19:16:39 UTC, Nick Sabalausky wrote: Banned in the US: Public Image Limited - This Is Not A Love Song and SABRINA - Boys (Video Original) - HD. Banned? Oh well,

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Nick Sabalausky via Digitalmars-d
On 06/12/2015 07:48 AM, Chris wrote: The same goes for ain't. There's no reason why ain't should be bad English. I ain't got no money is perfectly fine, although it might make the odd Oxbridge fellow cringe and spill his tea. But what the Dickens, old chap! Yea, I'm fine with ain't being

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Mike Parker via Digitalmars-d
On 6/13/2015 3:32 AM, Tofu Ninja wrote: My friend came in to the shop today and the entire time they just kept asking for corks... For me that sounds 100% fine... Not to me. Gender-neutrality is for the cases when the gender is unknown or the subject is generic, e.g. A person. I would

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Tofu Ninja via Digitalmars-d
On Saturday, 13 June 2015 at 01:09:48 UTC, Mike Parker wrote: On 6/13/2015 3:32 AM, Tofu Ninja wrote: Not to me. Gender-neutrality is for the cases when the gender is unknown or the subject is generic, e.g. A person. I would assume that you are likely to know the gender of a friend, in which

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 13:05:36 UTC, Chris wrote: Do you speak Bokmål or Nynorsk? Bokmål, but neither Bokmål or Nynorsk are naturally spoken languages, they are written languages. Nobody actually speaks Nynorsk (only in poetry, drama and movies where it is read in a rather literal

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Chris via Digitalmars-d
On Friday, 12 June 2015 at 13:51:55 UTC, Ola Fosheim Grøstad wrote: On Friday, 12 June 2015 at 13:05:36 UTC, Chris wrote: Do you speak Bokmål or Nynorsk? Bokmål, but neither Bokmål or Nynorsk are naturally spoken languages, they are written languages. Nobody actually speaks Nynorsk (only

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Chris via Digitalmars-d
On Friday, 12 June 2015 at 09:26:29 UTC, Alix Pexton wrote: On 11/06/2015 2:30 AM, weaselcat wrote: On Thursday, 11 June 2015 at 00:57:34 UTC, Tofu Ninja wrote: On Wednesday, 10 June 2015 at 20:14:10 UTC, Nick Sabalausky wrote: Contrary to technical official definition, in REAL WORLD usage,

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread via Digitalmars-d
On Friday, 12 June 2015 at 15:02:35 UTC, Tofu Ninja wrote: Hey, you see that person over there? What are they doing? Is that their big red stuffed dinosaur? A person came in to the shop today and the entire time they just keept asking for corks, we sell paint... I am going to wear this big

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Tofu Ninja via Digitalmars-d
On Friday, 12 June 2015 at 11:35:30 UTC, Ola Fosheim Grøstad wrote: They as singular feels weird tho, but maybe it is related to the archaic thou and thee? We had the same in norwegian ~60 years ago. De (they) was used as singular towards strangers and du (you) was used with people you were

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-12 Thread Tofu Ninja via Digitalmars-d
On Friday, 12 June 2015 at 15:19:40 UTC, Ola Fosheim Grøstad wrote: On Friday, 12 June 2015 at 15:02:35 UTC, Tofu Ninja wrote: Hey, you see that person over there? What are they doing? Is that their big red stuffed dinosaur? A person came in to the shop today and the entire time they just

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Kagamin via Digitalmars-d
On Thursday, 11 June 2015 at 10:17:26 UTC, Ola Fosheim Grøstad wrote: People here often request features you can only ask for after years of programming experience. This shows that there is a lot of experience in the D community. Without experience D wouldn't be where it is, having only

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Chris via Digitalmars-d
On Thursday, 11 June 2015 at 07:08:02 UTC, Ola Fosheim Grøstad wrote: On Thursday, 11 June 2015 at 03:04:50 UTC, Rikki Cattermole wrote: The biggest difference between the D community in general and other communities is actually quite simple. Experience. Indeed! The world has never seen a

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread via Digitalmars-d
On Thursday, 11 June 2015 at 09:14:00 UTC, Chris wrote: Now, now. It is true that bad and frustrating experience with other languages drove me (and probably others) to D. Suggesting that a language like D is based on experience in comparison to Go is... not right... given the experienced

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread via Digitalmars-d
On Thursday, 11 June 2015 at 07:11:33 UTC, rsw0x wrote: actually making a good GC for D is difficult because the only type of barrier you can use it hardware protection faults. The performance dropoff isn't _that_ bad from what I've read in various papers. I should have an article up in a

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread via Digitalmars-d
On Thursday, 11 June 2015 at 10:52:08 UTC, weaselcat wrote: heavily disagree honestly. Ken Thompson - B? Rob Pike - Limbo? Joking? Not your kind of experience? But still experience... So there is a limit to how far experience can take you. Anyway, language designers that do multiple

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Chris via Digitalmars-d
On Thursday, 11 June 2015 at 10:17:26 UTC, Ola Fosheim Grøstad wrote: On Thursday, 11 June 2015 at 09:14:00 UTC, Chris wrote: Now, now. It is true that bad and frustrating experience with other languages drove me (and probably others) to D. Suggesting that a language like D is based on

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread via Digitalmars-d
On Thursday, 11 June 2015 at 10:52:06 UTC, Chris wrote: vaguely familiar but I cannot put my finger on it. Usually I don't follow an idea that somehow sounds familiar. Well, in this case it might sound familiar to me because it is based manipulated sample of another tune I made... But I

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Abdulhaq via Digitalmars-d
I really wish people would stop complaining about other languages having the same features as D without giving credit. It is impossible to figure out exactly where ideas from features come from, but most features predate even C++ if being first is the main point. Hear, hear, is it so

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Chris via Digitalmars-d
On Wednesday, 10 June 2015 at 19:57:15 UTC, Russel Winder wrote: Please note, OED (which is the definition of the English language As Tofu Ninja said, a dictionary only (partly) reflects the current usage of a language. Look up the word sophisticated and you'll find out that it had a

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread weaselcat via Digitalmars-d
On Thursday, 11 June 2015 at 10:17:26 UTC, Ola Fosheim Grøstad wrote: On Thursday, 11 June 2015 at 09:14:00 UTC, Chris wrote: Now, now. It is true that bad and frustrating experience with other languages drove me (and probably others) to D. Suggesting that a language like D is based on

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread via Digitalmars-d
On Thursday, 11 June 2015 at 11:20:12 UTC, Kagamin wrote: Then brainfuck wins. Always.

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Kagamin via Digitalmars-d
On Wednesday, 10 June 2015 at 18:13:53 UTC, Dave wrote: Another backwards annotation is nothrow. I don't really care if something doesn't throw, I care when it throws, because then I have to do something (or my program may crash unexpectedly). I recently debugged such no crash bug: the code

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Bruno Medeiros via Digitalmars-d
On 10/06/2015 12:38, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: I think Rust has an advantage over Go in the name Mozilla alone, they are more idealistic than Google. Agreed. In concrete terms, Mozilla is a non-profit, whereas Google is not. Google can

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread weaselcat via Digitalmars-d
On Thursday, 11 June 2015 at 09:14:00 UTC, Chris wrote: Because this hurts some people. The D crowd doesn't snob other languages, in fact, people here often point at features of other languages saying Da', can I have this, pleze?.

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread David Gileadi via Digitalmars-d
On 6/10/15 6:43 PM, Tofu Ninja wrote: On Thursday, 11 June 2015 at 01:30:08 UTC, weaselcat wrote: 'he' has been a gender neutral pronoun for centuries, and as far as I'm aware this has its roots in latin using 'man'(vir?) as a gender neutral pronoun. I am just saying that personally it sounds

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Nick Sabalausky via Digitalmars-d
On 06/11/2015 06:52 AM, Chris wrote: In your case, the song reminds me of: Wouldn't It Be Good - Nik Kershaw https://www.youtube.com/watch?v=AYMAtbq0bjY (God, I'm so old!) :-) Oh man, that takes me back. 80's had the best pop music, IMHO. Miss that stuff. Although, I still have trouble

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Nick Sabalausky via Digitalmars-d
On 06/11/2015 07:31 AM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Thursday, 11 June 2015 at 11:20:12 UTC, Kagamin wrote: Then brainfuck wins. Always. It *is* very fun to implement. I'm more partial to this one though:

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Nick Sabalausky via Digitalmars-d
On 06/11/2015 07:37 AM, Bruno Medeiros wrote: On 10/06/2015 12:38, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: I think Rust has an advantage over Go in the name Mozilla alone, they are more idealistic than Google. Agreed. In concrete terms, Mozilla is a

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread Idan Arye via Digitalmars-d
On Thursday, 11 June 2015 at 13:21:27 UTC, Dave wrote: Exceptions are not meant to force handling errors at he source. This attitude is why so many exceptions go unhandled at the upper layers. When you have a top level that calls a function that calls 50 other functions, each that throw a

Re: Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?

2015-06-11 Thread via Digitalmars-d
On Thursday, 11 June 2015 at 16:49:15 UTC, Nick Sabalausky wrote: On 06/11/2015 07:31 AM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Thursday, 11 June 2015 at 11:20:12 UTC, Kagamin wrote: Then brainfuck wins. Always. It *is* very fun to implement.

  1   2   3   4   >