6 comments

[ 2.3 ms ] story [ 16.7 ms ] thread
Cool, I have been playing with Elixir over the last few weeks! It seems really interesting but I know elixir might not be the right application for it but I was wondering if anyone would have a good strategy for making a CLI application handling (non blocking) user keyboard input, not using the IEX.
Have one process block on waiting for user keyboard input and send the keyboard input to your main process for actual reaction. That way the input is only blocking a completely separate process and not your main worker process.
Indeed cool. I've been spending decent chunk of time exploring Elixir, Phoenix and the ecosystem as a whole, and I haven't had this much fun in a very long time.
We have a web application developed in elixir, it's really amazing.

I highly recommend the book: the little elixir & otp guidebook. understanding OTP and the actor model will crank your elixir code up to 11.

> Elixir is still in the process of development; as of this writing its stable version number is 0.9.1.

Seems a bit out of date; afaik the latest stable is v1.5.3. Not sure how much has changed in-between though.

There has been a huge amount of change in the language since 0.9, so this is probably wildly out of date.