frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Learn OCaml – Exercises

https://ocaml-sf.org/learn-ocaml-public/#activity=exercises
40•smartmic•3h ago

Comments

b0a04gl•1h ago
picked up ocaml back when prepping for some interview round, didn’t expect much just wanted the functional knowledge. but later used it for advent of code and it just worked so clean. pattern matching, recursion, immutabilitty.. fits those problems naturally. ended up liking the language way more than planned.
hyper57•1h ago
Loved using OCaml for a compiler course at uni when I was a student. But I've always felt that the tooling side is pretty rough, especially on Windows. Opam recently added Windows support, but it involves installing MinGW, and when following the official docs https://ocaml.org/docs/installing-ocaml#install-platform-too... the process breaks down with an error when trying to install utop due to a path separator error, which one has to fix manually (at least that was the case last time I tried). By comparison, installing Python or Rust on Windows is a breeze.
lor_louis•1h ago
Even in Linux, I'd say the tooling is a bit rough, dune and the new lsp are going in the right direction though.
jact•43m ago
Dune is a very powerful and good build system — it can do some very magical and useful things. The only problem is most of these useful features are very poorly documented…
luxurytent•26m ago
If I learned OCaml, what type of prospects would I have?

Fairly seasoned generalist, mostly writing Go these days. Lots of plumbing with LLMs etc.

Would love to learn something new but am driven by a goal in mind (ie OCaml exposes me to "X industry")

Is that a thing?

iLoveOncall•24m ago
Learning OCaml exposes you to the sadomasochist industry, that's about it.
alabhyajindal•19m ago
Not sure about OCaml but I learned Haskell recently which made me think about programming diferently and appreciate it more.

I think learning a functional language is 100% worth it because it introduces you to many different concepts, any statically typed functional language should be good for this.

Generally I think learning new paradigms of languages is worth it. Nice to have an alternative perspective on solving the same problems.

EDIT: Not sure about OCaml serving as an introduction to a particular industry. Compilers come to mind but you can write them comfortably in any language.

wk_end•8m ago
Probably the biggest sectors where functional programming is used are finance and crypto (which is arguably finance). Some companies use OCaml itself, other companies might use other languages like Haskell where OCaml knowledge would be valuable.

You can see a list on the OCaml website of companies using it, or read some success stories (https://ocaml.org/industrial-users).

Rendello•3m ago
The trading firm Jane Street is *the* big OCaml shop, they have a great podcast about all their tech.

- https://signalsandthreads.com/

(It's one of three programming podcasts I consistently listen to these days, the others being On The Metal and Developer Voices.)

Jane Austen's Boldest Novel Is Also Her Least Understood

https://www.nytimes.com/2025/06/27/books/review/jane-austen-mansfield-park.html
1•lermontov•59s ago•0 comments

Don't Understand S

1•leonardstrope•1m ago•0 comments

Guidelines for buildable and testable code examples

https://pigweed.dev/docs/contributing/docs/examples.html
1•kaycebasques•2m ago•0 comments

Go is an 80/20 language

https://blog.kowalczyk.info/article/d-2025-06-26/go-is-8020-language.html
1•todsacerdoti•2m ago•0 comments

Converging AI and HPC: Design and Optimization of a CGRA Architecture [pdf]

https://cogarchworkshop.org/assets/papers/paper_3.pdf
1•matt_d•3m ago•0 comments

Wal-Mart Stores, Inc. vs. Dukes

https://en.wikipedia.org/wiki/Wal-Mart_Stores,_Inc._v._Dukes
1•Bluestein•3m ago•0 comments

(Experiment) Colocating agent instructions with eng docs

https://technicalwriting.dev/ai/agents/colocate.html
1•kaycebasques•4m ago•0 comments

Multi-Stage Programming with Splice Variables

https://tsung-ju.org/icfp25/
1•matt_d•10m ago•0 comments

We need a censorship-resistant truth protocol – I have the idea, not the skills

2•PowerQuestion•13m ago•0 comments

When cars outsmart their drivers

https://www.carsandhorsepower.com/featured/when-cars-outsmarted-their-drivers
1•Anumbia•13m ago•0 comments

Meta is offering multi-mn pay for AI researchers,but not $100M signing bonuses

https://techcrunch.com/2025/06/27/meta-is-offering-multi-million-pay-for-ai-researchers-but-not-100m-signing-bonuses/
2•pranay01•22m ago•0 comments

How we made a Ruby method faster

https://nickholden.io/how-we-made-a-ruby-method-200x-faster
1•mooreds•26m ago•0 comments

Generative AI and Code Security – recent developments as of June 2025

https://www.youtube.com/watch?v=NxOehfOfB6c
2•croemer•30m ago•0 comments

Hubert Dreyfus's views on artificial intelligence

https://en.wikipedia.org/wiki/Hubert_Dreyfus%27s_views_on_artificial_intelligence
1•Hooke•31m ago•0 comments

Paul Graham as a Service

https://paulgraham.resurrect.space/?new=chat
2•vednig•33m ago•0 comments

A Practical Mid-Side Decoder Circuit

https://paia.com/msdecwork/
1•brudgers•41m ago•0 comments

The Problem with Video Essays [video]

https://www.youtube.com/watch?v=IsiKUsrqFkc
2•Kye•41m ago•1 comments

Stop Killing Games

https://www.stopkillinggames.com/
1•bitbasher•42m ago•0 comments

These Funds Are Yield Magicians. How Do They Do It?

https://www.wsj.com/finance/investing/these-funds-are-yield-magicians-how-do-they-do-it-ea63151a
1•kamaraju•44m ago•1 comments

Australia's TGA interim report: move supplements high in B6 to secure shelves

https://www.abc.net.au/news/2025-06-28/tga-takes-action-over-b6-toxicity/105470210
1•ggm-at-algebras•45m ago•0 comments

Genesis Modular Electronics Platform

https://axiometa.ai/genesis/
2•sohkamyung•47m ago•0 comments

The heart of software engineering still beats

https://annievella.com/posts/the-heart-of-software-engineering-still-beats/
1•brunooliv•47m ago•0 comments

Chickoban: A Sokoban Clone

https://github.com/aabiji/chickoban
1•aabiji•49m ago•1 comments

Chat with your Google Analytics data for free

https://userpath.co/chat
1•stewones•51m ago•0 comments

The Ten Commandments for Using Hand Tools

https://roberthoward.com.au/the-ten-commandments-for-using-hand-tools/
3•s4074433•54m ago•1 comments

Is your gut microbiome a calorie 'super harvester'?

https://phys.org/news/2025-06-gut-microbiome-calorie-super-harvester.html
4•PaulHoule•57m ago•0 comments

Authorship for sale: Nature investigates how paper mills work

https://www.nature.com/articles/d41586-025-01824-3
1•hilux•59m ago•0 comments

Neuralink Update, Summer 2025

https://twitter.com/elonmusk/status/1938671214119285223
2•kodisha•59m ago•0 comments

Ask HN: Documenting the behavior of Microsoft of destroying true sleep

4•tryauuum•1h ago•0 comments

FineWeb2: Adapting Pre-Training Data Processing to Every Language

https://arxiv.org/abs/2506.20920
3•hynky•1h ago•0 comments