Live data from Hacker News

First C# 7 Design Meeting Notes

github.com

81–82 of 82 posts

Re: First C# 7 Design Meeting Notes

#81
post #12

Earlier quoted context omitted.

You can already get a long way towards channels by using reactive extensions (E.G. http://pastebin.com/h1xteunX ) Some syntactic sugar a la await could be nice though.

Not sure if you're aware, but your Rx example has a few problems: 1.) In the StartSenders method, you're violating the Rx grammar by calling channel.OnNext concurrently. Wrap it on a lock statement. 2) In StartReceiver you're missing out messages the way you handle the channel. Replace the loop with a call to channel.Subscribe

I did not know either of those things! Thanks!

Re: First C# 7 Design Meeting Notes

#82
post #80

Earlier quoted context omitted.

Rust 1.0 is currently slated for 8-14 weeks away: http://blog.rust-lang.org/2014/12/12/1.0-Timeline.html

I know, and comparing its current state with what F# offers today doesn't make sense, not today. In a few years time when Rust has the same eco-system has F# offers today to Windows devs, then we can compare the current state of the languages.

Sorry, I thought you were asking a question, not being rhetorical.
Post reply on HN