News for hackers. Stuff that matters.
Re:Plans for OCaml 4.08 by ericb on Wednesday July 04, 2018 @12:07PM (#17457967)
It will be interesting to see how the $200 million+ Tezos warchest affects the popularity and development of OCaml. That seems to be a fairly large amount in relation to the size of the current OCaml ecosystem, and the whole purpose of the fund is to grow the ecosystem of Tezos which by necessity includes the OCaml ecosystem.
Re:Plans for OCaml 4.08 by coldtea on Wednesday July 04, 2018 @01:38PM (#17458472)
I had a look at Tezos -- which I've never seen mentioned before.

If you mean this "Tezos: the self-amending cryptographic ledger" ( https://tezos.com/ ), this look like something done from 4 amateurs in their spare time.

I don't know if it has "$200 million+" warchest, but if it does I pity the fools that gave it that.

Re:Plans for OCaml 4.08 by ericb on Wednesday July 04, 2018 @09:30PM (#17460349)
I think you have the wrong impression. This is one of the more well thought out projects in the space. Don't let the cover (marketing schlock) mislead you.
Re:Plans for OCaml 4.08 by JeremyBanks on Wednesday July 04, 2018 @03:14PM (#17458962)
If you haven't even heard of it before, then your five second analysis of the home page isn't really worth sharing.

I don't have a lot of faith in Tezos, and it's spent most of the time since its (well-known, but apparently not to you) over-funded ICO spent in legal fights over the money, instead of engineering. However, it's only fair to observe that a lot more thought and work did go into Tezos than most of the other Blockchain crap we see every day. Glancing at the marketing splash is hardly enough to assess that.

Re:Plans for OCaml 4.08 by coldtea on Wednesday July 04, 2018 @03:54PM (#17459128)
>If you haven't even heard of it before, then your five second analysis of the home page isn't really worth sharing.

I'm not so sure. Besides there are lots of way more well known cryptocurrencies that are amateur hour themselves. It comes with the territory.

>well-known, but apparently not to you

Yeah, it's world famous among the people who follow these things...

Re:Plans for OCaml 4.08 by the_duke on Wednesday July 04, 2018 @12:26PM (#17458069)
FB s interest in the ecosystem with Reason might also give a nice boost in development resources for libraries and the compiler.
Re:Plans for OCaml 4.08 by cannam on Wednesday July 04, 2018 @01:35PM (#17458460)
I hadn't heard of Tezos. Following that up I find https://tezos.com/, "a new platform for smart contracts and decentralized applications", leading to http://doc.tzalpha.net/index.html which is indeed full of Ocaml stuff.

Where does $200 million+ come into it? What is the history there?

Re:Plans for OCaml 4.08 by ufo on Wednesday July 04, 2018 @01:47PM (#17458541)
They raised that much money in their "ICO"

https://news.ycombinator.com/item?id=15503768

Re:Plans for OCaml 4.08 by cannam on Wednesday July 04, 2018 @01:59PM (#17458601)
Thanks. Wish I hadn't asked.
Re:Plans for OCaml 4.08 by woolvalley on Wednesday July 04, 2018 @02:24PM (#17458718)
For a smart contract platform, it's probably ok that ocaml isn't multithreading friendly. But what a disappointment if this is still the case: https://ib-krajewski.blogspot.com/2015/11/ocaml-and-multithr...

At this point, if a language doesn't have first class support for multithreading and static typing, I wouldn't start a new project in it. Nullability support is pretty high up there too, but that is a far more tractable problem.

Re:Plans for OCaml 4.08 by ernst_klim on Thursday July 05, 2018 @04:09AM (#17461635)
>But what a disappointment if this is still the case

Well, it's not yet ready, but it's incoming

https://discuss.ocaml.org/t/ocaml-multicore-report-on-a-june...

Re:Plans for OCaml 4.08 by jnbiche on Wednesday July 04, 2018 @08:32PM (#17460171)
> Nullability support

Nullability? As in null references? The "billion-dollar mistake" (Tony Hoare, referring to Algol), also frequently called the "worst mistake in computer science"?

Re:Plans for OCaml 4.08 by woolvalley on Wednesday July 04, 2018 @11:09PM (#17460612)
No as in something like swift optionals:

https://www.tutorialspoint.com/swift/swift_optionals.htm

It's also called nullability support, you can see it in use in this article:

http://journal.stuffwithstuff.com/2011/10/29/a-proposal-for-...

Re:Plans for OCaml 4.08 by Raphael_Amiard on Thursday July 05, 2018 @02:21AM (#17461210)
I'm not sure what you mean, optionals are just a sum type (says so in your own article) and Ocaml support for them is first class, also option is a built in Ocaml type http://batteries.forge.ocamlcore.org/doc.preview:batteries-b...
Re:Plans for OCaml 4.08 by scns on Thursday July 05, 2018 @02:36AM (#17461262)
Julia and C# call it Nullable, other Languages Option or Maybe.

Option type on wikipedia, cant paste the link somehow.

Re:Plans for OCaml 4.08 by jnbiche on Thursday July 05, 2018 @02:45AM (#17461300)
Oh, option types! I don't know Julia or C#, so never heard this called nullability before.

On any case, as someone else pointed out, OCaml had supper for option types built in, through sum types.

I agree that sum types are indispensable in a modern programming language.

Re:Plans for OCaml 4.08 by gmfawcett on Wednesday July 04, 2018 @03:25PM (#17459006)
Modern OCaml multithreading is still a couple years away, the current (very promising) approach is still at the design/experimental stage.

Out of curiosity, what is it about smart contracts that makes multithreading so important? Why isn't multiprocessing enough? [edit: sorry, I mis-read your comment. You said that multithreading probably isn't a big deal for this problem.]

Re:Plans for OCaml 4.08 by HumanDrivenDev on Wednesday July 04, 2018 @05:55PM (#17459630)
Modern OCaml multithreading is still a couple years away

It's been a couple of years away for the last 10 years.

Re:Plans for OCaml 4.08 by gmfawcett on Wednesday July 04, 2018 @06:23PM (#17459740)
I know, and I hate sharing "it's coming soon" stories for that reason. But the recent multicore progress-update does seem well conceived, and so personally I'm giving them the benefit of the doubt. :)
Re:Plans for OCaml 4.08 by laylomo2 on Wednesday July 04, 2018 @07:47PM (#17460028)
For the record, the current story is that they are merging some multicore things into 4.08, and it will only be available as an "experimental" feature. So even after it is in the compiler, it will be a couple more revisions before it is fully accepted.
Re:Plans for OCaml 4.08 by gmfawcett on Wednesday July 04, 2018 @08:04PM (#17460082)
Right, I linked to these summary notes in a different comment:

https://discuss.ocaml.org/t/ocaml-multicore-report-on-a-june...

Re:Plans for OCaml 4.08 by rbjorklin on Wednesday July 04, 2018 @04:15PM (#17459250)
It doesn’t necessarily have to be that far out: https://twitter.com/kc_srk/status/994535108127404038?s=20
Re:Plans for OCaml 4.08 by gmfawcett on Wednesday July 04, 2018 @04:39PM (#17459340)
That would be very nice. I was basing my comments on these meeting notes [1], which seem a bit more conservative. (Multicore should be available experimentally in early 2019, but not ready for production use. I guess the next steps depend on how well those experiments pan out!)

https://discuss.ocaml.org/t/ocaml-multicore-report-on-a-june...

Re:Plans for OCaml 4.08 by woolvalley on Wednesday July 04, 2018 @11:13PM (#17460630)
Not for smart contracts, just as a language in general.
Re:Plans for OCaml 4.08 by haskellandchill on Wednesday July 04, 2018 @02:39PM (#17458791)
Nullability? Why?