Better HN
topnewbestaskshowjobs
Log inSign up

14e3d901150a21d

4 karma · joined Feb 1, 2015 (11y ago) · 3 submissions

Submissions

comment 11y ago · link · parent

I was hoping that the prelude would re-export the new io/path modules, but it looks like old_io and old_path are still exported.

Regardless, great work. Rust seems rather promising.

comment 11y ago · link · parent

I'm looking forward to LXD in particular. I really like how Docker feels like a convenient application deployment platform, but there is no isolation between the container and the host OS. One thing that bothers me is a lot of application images, including official ones, on the Docker repository run as root. User and groups are mapped one-to-one on the host; running as root in the container means you are root on the host. I really hope LXD maintains the convenience of Docker with the added isolation a hypervisor brings.

comment 11y ago · link · parent

Respect CPU caches and locality. Keeping your data structures in cache or even packed together can result in a nice performance gain.

I've seen benchmarks where inserting into an array was significantly faster than inserting into a linked list. This can be surprising considering most algorithm texts I've seen say the complexity of the latter is better. From what I understand locality is part of the reason inserting into the array is faster.