Click here to Skip to main content
15,886,919 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: The right way to adopt new technology Pin
Marc Clifton1-May-21 10:08
mvaMarc Clifton1-May-21 10:08 
GeneralRe: The right way to adopt new technology Pin
Kent Sharkey1-May-21 21:00
staffKent Sharkey1-May-21 21:00 
JokeRe: The right way to adopt new technology Pin
abmv2-May-21 6:51
professionalabmv2-May-21 6:51 
NewsMicrosoft’s Brad Smith renews attack on Google over web content Pin
Kent Sharkey29-Apr-21 10:46
staffKent Sharkey29-Apr-21 10:46 
GeneralRe: Microsoft’s Brad Smith renews attack on Google over web content Pin
abmv2-May-21 6:46
professionalabmv2-May-21 6:46 
NewsRust programming language: We want to take it into the mainstream, says Facebook Pin
Kent Sharkey29-Apr-21 9:01
staffKent Sharkey29-Apr-21 9:01 
GeneralRe: Rust programming language: We want to take it into the mainstream, says Facebook Pin
markrlondon29-Apr-21 23:34
markrlondon29-Apr-21 23:34 
GeneralRe: Rust programming language: We want to take it into the mainstream, says Facebook Pin
Kevin McFarlane30-Apr-21 3:45
Kevin McFarlane30-Apr-21 3:45 
markrlondon wrote:
Didn't they say the same about D a couple of years ago.


Yes, but for whatever reason it doesn't seem to have gotten much traction. Wiki mentions Facebook, eBay and Netflix as prominent users. But there's no mention of D in that article.

So Rust now has most of the biggest of Big Tech behind it - Google, Amazon, Microsoft, Facebook. Just Apple who are missing.

I've been learning Rust in the past few weeks. There was another thread last week I think. Apart from the systems programming space it looks like it may have a sweet spot in WebAssembly where you can script high-perf and memory-safe components (say ML) from JavaScript or TypeScript.

It has a tough learning curve though. In rewriting one of my own programs from C# to Rust I was stuck for several days at one point trying to get it to compile! I got there in the end but it's just the first version I could get working, probably nowhere near idiomatic or even in the form I tried to get it into. But you have to walk before you can run. I did some timings (on a small ML example based on a book):

Python - 22s
C# - 1s
Rust Debug - 12s
Rust Release - 0.36s

At first I was horrified by the Rust Debug time then read:

"A release build typically runs much faster than a debug build. 10-100x speedups over debug builds are common!"

I guess I ought to do a C++ version but I haven't done any for over a decade and I don't currently have it installed.
Kevin

NewsWhy programmers don’t write documentation Pin
Kent Sharkey29-Apr-21 8:46
staffKent Sharkey29-Apr-21 8:46 
GeneralRe: Why programmers don’t write documentation Pin
Marc Clifton29-Apr-21 10:48
mvaMarc Clifton29-Apr-21 10:48 
GeneralRe: Why programmers don’t write documentation Pin
Greg Utas29-Apr-21 13:12
professionalGreg Utas29-Apr-21 13:12 
GeneralRe: Why programmers don’t write documentation Pin
Bernhard Hiller29-Apr-21 20:25
Bernhard Hiller29-Apr-21 20:25 
GeneralRe: Why programmers don’t write documentation Pin
markrlondon29-Apr-21 23:33
markrlondon29-Apr-21 23:33 
GeneralRe: Why programmers don’t write documentation Pin
Eddy Vluggen30-Apr-21 1:09
professionalEddy Vluggen30-Apr-21 1:09 
GeneralRe: Why programmers don’t write documentation Pin
Kent Sharkey30-Apr-21 5:08
staffKent Sharkey30-Apr-21 5:08 
GeneralRe: Why programmers don’t write documentation Pin
Eddy Vluggen30-Apr-21 10:17
professionalEddy Vluggen30-Apr-21 10:17 
GeneralRe: Why programmers don’t write documentation PinPopular
Gary R. Wheeler30-Apr-21 10:56
Gary R. Wheeler30-Apr-21 10:56 
GeneralRe: Why programmers don’t write documentation Pin
Hartmut1-May-21 6:49
professionalHartmut1-May-21 6:49 
GeneralRe: Why programmers don’t write documentation Pin
Gary R. Wheeler1-May-21 8:36
Gary R. Wheeler1-May-21 8:36 
GeneralRe: Why programmers don’t write documentation Pin
Hartmut3-May-21 12:55
professionalHartmut3-May-21 12:55 
GeneralRe: Why programmers don’t write documentation Pin
abmv2-May-21 6:48
professionalabmv2-May-21 6:48 
NewsGartner says low-code, RPA, and AI driving growth in ‘hyperautomation’ Pin
Kent Sharkey29-Apr-21 8:46
staffKent Sharkey29-Apr-21 8:46 
GeneralRe: Gartner says low-code, RPA, and AI driving growth in ‘hyperautomation’ Pin
Eddy Vluggen30-Apr-21 10:18
professionalEddy Vluggen30-Apr-21 10:18 
GeneralRe: Gartner says low-code, RPA, and AI driving growth in ‘hyperautomation’ Pin
Tasadit2-May-21 21:37
Tasadit2-May-21 21:37 
News.NET 6 LINQ improvements Pin
Kent Sharkey29-Apr-21 8:46
staffKent Sharkey29-Apr-21 8:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.