Hacker News new | past | comments | ask | show | jobs | submit | more octoploid's comments login


Wow this is almost exactly what they're trying to do. I made the transition recently to vscode and am enjoying it over atom for js development.


Would be nice to see a demo or try it without giving GitHub auth.


Look at the gif that shows how it is used on torvalds/linux: https://github.com/spiffcode/ghedit


Wow, this is good. I'm guessing highlighting support could be improved -- I opened a Haskell file and it was just plain text.

One remarkable benefit for me is the fact that this plays nice with Vimperator.


Build-in sum types and pattern matching are the major missing features.

Instead C++17 will have library hacks like std::variant, that almost certainly will be deprecated for C++20.


Modules seem much more important than either of those. You know where you include a platform header and suddenly you can no longer call a variable "min" because said platform header decided that should be a macro and it's giving you cryptic errors because what you see isn't what the compiler sees.

I've written too much C++ to be dumbfounded by that stuff but that doesn't mean I'm not still bitter about it.


> Modules seem much more important than either of those.

Modules solve an immediate and obvious pain: unacceptably long compile times. Sum types are more profound. Anyone having tasted an ML derivative (as I have) would dearly miss them. Seriously, once you've tasted sum types, you'll want to use them everywhere: option types, error returns, abstract syntax trees (JSON, XML, compilers…), you name it, sum types probably solve it.

Sum types are no panacea, but if you squint your eyes just right they're pretty damn close.


I've tasted sum types and if I was trying to be snarky I'd say so have millions of Java enterprise developers who fill their code with a healthy dose of instanceof and null :)

It is somewhat anathema to the OO idea and brings lots of (runtime) implementation concerns so I can understand the delay.


What platform would ever put a three letter macro in its base headers! That would be stupid.

/s


In fairness, It's a well documented problem with a ery easy solution. I wonder how much code would break if they removed it..


They would be deprecated only if the features you are missing are actually on their way into the language. Are they? I agree those features would be nice, but I've never seen any mention of them actually planned.



Why would variant be deprecated for C++20?


It is spreading to other DNS providers, too: https://status.fastly.com/

www.ft.com is unreachable for example.


Fastly is simply putting up a status page so they aren't contacted about issues, and letting them know it's about DYN. And they are having internal issues with communications like zendesk.



Correction. Clang used to compile much faster years ago. But nowadays GCC-6 actually compiles faster than clang-3.8.0. See e.g.: http://hubicka.blogspot.com/2016/03/building-libreoffice-wit...


Well, just use -fsanitize=undefined and it will point out (most of) the isuses for you.


Provided that your test suite properly trigger the execution of tricky parts, in tricky situations (You do have a test suite, right?)


>You do have a test suite, right?

Of course I do. I call it "customers".


Ok great then, and don't forget to tell them to compile using "-fsanitize=undefined" !


We do love our customers don't we? They make the best testers.


Well, not all C compilers have it.



Woohoo, thank you!


Thank you!


There is a cool BBC documentary about this heist: https://www.youtube.com/watch?v=cr9thHKGgW4


It's interesting how wrong the speculations were about robbers. Their experts thought it was a Hollywood style "Reservoir Dogs" robbery with precision planning, recruitment from the "dark web" and that the loot was likely already out of the country (possibly hidden up a horses ass). One guy even speculated that they tripped the alarm on purpose, to see what the response would be.

What turned out was pretty far from that. Still, it was worth the watch, for the recreation of drilling through the wall, decent into the elevator shaft and safe deposit box smashing.


Slides are available here: https://gcc.gnu.org/wiki/cauldron2015


It is not just for experimentation. The implementation is the basis of a Technical Specification, that will hopefully make it into C++17.

Finally the TS will be merged into the standard in the further future.


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: