Hacker Newsnew | past | comments | ask | show | jobs | submit | anfroid555's commentslogin

Can anyone name a large company that let's devs use Linux as the OS on the corporate pc?


Yea I only see windows with Linux vm or Mac os.


Anyone know a tutorial course for someone only knowing high level languages. And not c or Ruby. More JavaScript, PHP, nodejs, Python


I did one of the rust-koans out there and it went very well. Can't really remember which one, though...


Rust for rubyists?


It basically doesn't exist anymore; I stopped maintaining it pre-Rust 1.0.


No softlayer?


Understand how to make games is different then playing games and surfing the web looking at junk.


Can someone say "trading spaces" qoute


Erlang


or Elixir or anything that targets BEAM :)


What distribution has this version


What web framework is this on?



I'm surprised people can use Iron at all. I tried really really hard to use it and found the complete lack of documentation (or, worse, outdated blog posts) made it impossible. Is there some magic necronomicon I'm missing?

I had better luck with nickel.rs because it has an examples/ folder with quick recipes of most things you'd want to do.


My experience exactly. Nickel.rs has a fairly good set of clear examples on its website and then some more on Github.

Unfortunately it seems to be a common trend that Rust projects only provide API docs. While that can be useful I find more 'high level' docs much more helpful especially when you're new to the language and/or framework.


We are in the early stages of having an official docs team; one of the things we want to do is figure out how to encourage better ecosystem docs. Towards that end, right now is the first "doc days": https://facility9.com/2016/06/announcing-rust-doc-days/ we'll be focusing on the rust-lang-nursery crates this time, but will focus on the ecosystem ones in the future!

EDIT: Oh, and I've wanted a good way for Cargo to produce additional, non-API docs through a top-level "docs" directory, but haven't found the time to properly implement it yet :/


Better tooling will definitely help but I think it will mainly come to focus and priority.

Some packages like Serde for example do provide higher level docs located with the API docs which can work fine.


Which has very disappointing benchmarks at the moment - even slower than some Python and Ruby stacks:

https://www.techempower.com/benchmarks/#section=data-r12&hw=...

I'm not sure why this is - I've Googled to no avail - but it is rather worrying.


I've been doing some work on these benchmarks. They appear really slow to me as well; I found the environment really hard to set up, though, so I haven't quite figured out how to identify why they're this way.


When you see Rust being "slower than Ruby" it's usually because you forgot to turn off debug mode.


Looks like they use build with release mode:

https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...


So it's important to not compare master to when the benchmark was posted; remember, they do them at a certain time, then work happens. So like, I sent a PR to update Rust from 1.0 to 1.6 at one point, for example.

That said, I don't think that missing out on --release was the issue here, as far as I know, it has always been on.


erlang:open_port(spawn, ...) 3-5 times faster

mnesia_ext: plugin of external storage solutions to mnesia


Ah nice! ..wonder if mnesia_ext is bundled with leveldb support?


I'd rather have Bitcask or RocksDB - something that has better crash recovery capabilities. LevelDB was marked as being prone to data corruption. DETS has similar problems when not closed properly.


> LMDB was marked as being prone to data corruption

Don't know where you got your information from, but LMDB is verified as the safest storage engine:

https://www.usenix.org/conference/osdi14/technical-sessions/...


Sorry, I was thing about LevelDB. ANd yes, you are right about LMDB!


DETS is supposed to repair itself on startup. I think most crash-only systems work that way (on startup, start reading from end and find last consistent bit and chop off the rest). But there could obviously been a bug there.


I have a very modest experience with it, but when a crash happened it was game-over for it. Maybe I was doing something wrong.


No. The actual ext is something you have to provide yourself.


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

Search: