Re:Which language has the brightest future for replacing C: ...
by Nrpf on Wednesday November 11, 2015 @06:36PM
(#10550209)
What do you think about Julia?
[ Parent
| on HN ]
Re:Which language has the brightest future for replacing C: ...
by progman on Thursday November 12, 2015 @11:32AM
(#10554159)
I have barely touched Julia and I am impressed by the performance. It could become a real competitor to R.
Nim could also play a significant role because its syntax is similar to Python, and because NumPy is a Python API which is very prominent among scientists. However someone has yet to write a Nim library similar to NumPy.
Nim has the advantage of zero overhead to C, and it compiles to C which makes Nim an interesting option for super computing.
Re:Which language has the brightest future for replacing C: ...
by quotemstr on Tuesday November 17, 2015 @01:35AM
(#10579505)
> Nim has the advantage of zero overhead to C,
Untrue. Nim requires the use of a garbage collector.
Re:Which language has the brightest future for replacing C: ...
by progman on Tuesday November 17, 2015 @03:51PM
(#10583860)
No. Counter example from http://learnxinyminutes.com/docs/nim/:
# Because Nim compiles to C, FFI is easy:
proc strcmp(a, b: cstring): cint {.importc: "strcmp", nodecl.}
let cmp = strcmp("C?", "Easy!")