News for hackers. Stuff that matters.
Re:Why Go and Not Rust? by thelazydogsback on Monday September 16, 2019 @02:50PM (#20987294)
I have a bit -- but I don't have a project that makes sense to do in Rust at the moment. I'm mostly doing long-running symbolic AI code where I don't want to mess around with object lifetime because imposing the concept of "ownership" would be difficult. (F#/C# is the best fit at the moment.)
Re:Why Go and Not Rust? by arcticbull on Monday September 16, 2019 @03:08PM (#20987476)
It takes a little while to wrap your head around it -- I think it took me a solid 3 months before it clicked. Once it clicks though, the lifetime stuff is completely automatic. You really don't think about it. I think because Rust's syntax is so similar to what you might see in a C derived language it adds to the cognitive burden of learning lifetimes the first time around, but IMO, Rust should be the first thing people learn.
Re:Why Go and Not Rust? by marmaduke on Monday September 16, 2019 @03:08PM (#20987470)
> long-running symbolic AI code

That sounds cool. An obvious question is, why not a lisp? But generally do you find f# works well on dotnet mixed with c#?

Re:Why Go and Not Rust? by thelazydogsback on Monday September 16, 2019 @03:48PM (#20987877)
I love Lisp and Prolog the languages and I went there first -- the issue always turns out to be either (a) they make hard stuff really easy, but stuff that should be easy really hard, and (b) IMHO nothing even comes close to the .Net ecosystem when it comes to debugging tools, libs, etc. Clojure+Cursive comes closest, but the JVM world is a bit of a turn-off for me -- maybe I've been away from it too long, but it just seems a bit clunky. (And of course, reified generics, value types, etc., aren't available in the JVM.) The meta-programming story isn't as good as in Lisp/Prolog of course. JS (as others have said) an acceptable Lisp and has some advantages for the type of work I'm doing -- my problem with JS (and Typescript) isn't the language, but the run-time environment of Node, which makes things like true parallel programming a PITA and incurs serialization overhead between workers.
Re:Why Go and Not Rust? by marmaduke on Tuesday September 17, 2019 @01:23AM (#20991864)
Thanks fort he reply. I've been looking at f# or ocaml for a symbolic code generation project, but haven't been able to decide.