Better HN
topnewbestaskshowjobs
Log inSign up

weirdwitch

26 karma · joined Dec 6, 2017 (8y ago) · 9 submissions

Submissions

1.

Microsoft open sources IoT edge security daemon(github.com ↗)

1 points · by weirdwitch · 8y ago · discuss

comment 8y ago · link · parent

Can you point me to the console version of Dota 2?

comment 8y ago · link · parent

I completely agree.

Path/PathBuf have better names, but the distinction still isn't immediately obvious.

String/str is the cause of so much confusion.

comment 8y ago · link · parent

Anything implemented for &str is automatically implemented for String, because String implements Deref<Target=str>.

Most useful "String" methods are actually &str methods that you get access to through that deref trait.

Dereferencing a String doesn't return a raw pointer, I'm not sure where you got that idea.

comment 8y ago · link · parent

No thanks. Rust made the right call by distinguishing between owned (String) and borrowed (str) strings. Even C++ is moving in that direction now, by finally adding string_views (https://en.cppreference.com/w/cpp/string/basic_string_view)

comment 8y ago · link · parent

After many many decades of despicable leaders and policies, surely you have to conclude that the people themselves must be despicable?

comment 8y ago · link · parent

How do racist slurs and threatening to murder millions of people "advance the global, public conversation"?

comment 8y ago · link · parent

Sorry there may be a cultural gap here. I'm not familiar with that phrase at all.

comment 8y ago · link · parent

Can you explain what this means?