Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Non-Blocking IO with out raising an exception is a notable new feature. The Improvements to Garbage Collection is also pretty huge.

The 128bit number support is cool, I mean if you want to work with Quadruple-precision floating-point numbers... I know I do.



Where do you find out about the non-blocking io?


I suppose he refers to this...

* IO

  * extended methods:

    * IO#seek supports SEEK_DATA and SEEK_HOLE as whence.

    * IO#seek accepts symbols (:CUR, :END, :SET, :DATA, :HOLE) for 2nd argument.

    * IO#read_nonblock accepts optional `exception: false` to return symbols

    * IO#write_nonblock accepts optional `exception: false` to return symbols
see https://github.com/ruby/ruby/blob/v2_1_0_preview1/NEWS




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: