TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Unix system programming in OCaml

132 pointsby raphaelssover 10 years ago

2 comments

murbard2over 10 years ago
I took this course ten years ago with Didier Remy, I was very disappointed.<p>First of, the course was called &quot;Operating Systems&quot;, and I was expecting subsetting like the Tannenbaum, explaining the theory and practice behind kernels. The course actually was about Unix system programming, and solely about that. At least the page is properly named.<p>Second, I think OCaml is an amazing language, but frankly it&#x27;s a terrible choice for this course. One needs the right tool for the right job. No particular &quot; insight &quot; is gained as the page alleges, beyond the insight that, gee, C would probably be a better lanhuage to interface with the system it was designed for!<p>Our project consisted in implementing the &quot;ls&quot; command in OCaml, which meant mostly covering all the corner cases brought by different flags. It wasn&#x27;t interesting, it didn&#x27;t teach valuable skills.<p>Functional programming languages shine when they deal with complex, recursive data structures, not for simple tasks which are primarily IO and need to handle many cases.
评论 #9090719 未加载
评论 #9091155 未加载
评论 #9092014 未加载
评论 #9091167 未加载
评论 #9090989 未加载
jlukecarlsonover 10 years ago
This sounds really cool. I currently TA a CS course that deals primarily with OCaml so it is great to have real world applications&#x2F;uses I can show to students in the class.