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

Never before has a programming language received so much marketing. It's very odd.


I don't think that "marketing" is the right word for a FOSS project that is not affiliated with any for-profit entity and has no business strategy. Rust is truly loved by many who had the chance to work with it and that's why it's honestly promoted more than any other modern language.


I take it you weren't programming when Java was the new hotness?


or Ruby, or Haskell, or elixir... Rust so happens to appeal the front-end crowd as much as the backend people and they are leveraging those windows of opportunity much better than any other language or community. Wasm bindgen is a bliss of fresh air, it even works very well with TypeScript.


People were following the hype and cargo-culting Java, XML, Visual Basic in similar ways.

Yet I really feel that the echo chamber effect is stronger now. People seem to need something to be hyped and polarized about.

Nuanced conversation becomes more difficult as the hyped crowd overwhelms any conversation.


We were discussing VB and Java on early days of Web, places like Compserve, BBSs or plain magazines reader letters.


It's so sad to see the BBC caught up in all this. It used be a reputable news source, the BBC World Service was just that - listened to the world over.

Now it's this.


The BBC has a bias, so what? They usually get their facts straight, and sometimes the spin is not to my liking, but that doesn’t mean it is poor journalism.


What do you mean by "caught up in all this"? It shouldn't report about this happening? You don't like some wording they use?


It's very clearly anti-Trump (I live in the UK). As for the article, there's this part:

"The president was criticised for ordering authorities to forcibly remove peaceful protesters from a square outside the White House so he could cross the street to take a photo in front of a church."

Wasn't it the AG that ordered the protesters to be moved?

Either way, who cares. This is HN, not reddit (although sometimes I wonder)


> Wasn't it the AG that ordered the protesters to be moved?

(A) Barr denies it.

(B) The buck stops at the President's desk.


I think your delicate opinions will be more comfortable on gab instead of HN or reddit. Bye.


What are your usecases, if you don't mind me asking? I am considering replacing our HTTP-heavy processes currently written in C++ with Go. However, after reading this thread I'm not so sure. Compilation time isn't that big of an issue for us, but having a simpler way of doing networking would be a win. I can't tell if that ease of use would be trumped by poor performance.


It isn't clear to me you're looking at a clear win there. If you do want to try it out, I recommend the strangler pattern: https://docs.microsoft.com/en-us/azure/architecture/patterns... With HTTP it's really easy to rewrite one URL at a time. You just need some way to proxy things around, nginx if nothing else, and then you can swap things as you go along, so you can pick and choose which URLs to test the Go implementation on.

My rule of thumb for Go performance is that's roughly 2-3x slower that C/C++. While human loss aversion is probably kicking in and making that sound horrible, from an engineering perspective, it's likely you'll not notice it, speaking broadly from my position of ignorance. However, if you do have your code deployed to places that are routinely running the CPU at 50%+ all the time in your C++ code (as opposed to DB wait or whatever), and you are not interested in investing in more hardware, I wouldn't even consider switching to Go.


It's mainly binary to JSON conversion, and firing that out over HTTP a few thousand times a second. That's the only IO. Goroutines look very interesting, and as I said, ASIO (C++ async networking) is a real pain to work with. But there are latency requirements here. Something that previously took 1ms cannot now take 10ms.


Here's the classic story about replacing a C++ HTTP server with a "slower" Go one: https://talks.golang.org/2013/oscon-dl.slide

Mind you, in 2013 the Go compiler was at go1.1, and had practically no optimizers at all.


Pretty new to the language myself but it might be worth it to just dive in yourself and see. I imagine getting a proof of concept wouldn't take too long given how easy go is to learn, great builtin benchmarking, and the (from what I've heard) exceptional net/http library.


This is a very interesting at a time when we're seeing what we can replace C++ with.

(yes, rusticles, I know rust exists)


I believe the correct term is 'rustaceans'.


I think go is mostly used to replace Python and Java & co.


And yet, it's worse than both.


How gutting for the researcher. It's very admirable for him to be so open about it all


To be fair, if this paper holds up then he's going to be the center of a scientific controversy which will increase citations, or it's going to become a required cite in pretty much every fMRI paper, which will increase citations.

So from a career perspective, this is actually pretty good (and wonderful work, even if it wasn't going to be good for his career).


This is a little bit off. The only architecture supported by Java is the JVM. It is a fictional CPU architecture with predefined characteristics, such as a memory model. The implementation of a JVM is a mapping from a real CPU to the J VM's requirements. So no, JVM doesn't mean 'any architecture', it means 'JVM'. It only applies to OSes where a JVM is available.


That's a bit of a nitpick.

The developer no longer cares what architecture the program will run on, it just works.

You compile to bytecode, and stop caring. The JVM becomes your only target architecture, regardless of what actual architecture the system has.

That's unlike C or pretty much any (all?) other compiled languages around in the early 90's when Java was still Oak and Gosling was just getting started.


Seconded, I tried to package up a publicly available header-only tar.gz into a debian package for our private repo and found it impossible to do. I gave up.


I just stole the process from another project that uses binary packaging.


- Hawaiian Pizza


'accomplices' to what crime?


Don't be obtuse. The thing everyone is talking about. Zuckerberg's policy of enabling Trump and a political message that is opposed by many, but enabled by not leaving.


Your phone has a phonebook.


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

Search: