0
comment
on 9/24/2015 8:45 AM
Let's implement the following task: read first 10M lines from a text file of the following format:then find all lines containing Microsoft namespace in them, and format the type names the usual way, like "Microsoft.Win32.IAssemblyEnum".First, F#:Now Rust:After several launches the file was cached by the OS and both implementations became non IO-bound. F# one took 29 seconds and 31MB of RAM at peak; Rust - 11 seconds and 18MB.The Rust code is as twice as long as F# one, but it's handling all possible errors[...]
>> Read the full article on vaskir.blogspot.com
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper