Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 6y ago · link · parent

It's almost like... wait for it... C and C++ are not the same programming language?

Nah, couldn't be! It's just C++'s fault, surely!

comment 6y ago · link · parent

> XEyes

Ah yes, the most important app. Definitely deserves a top 5 spot in the menu!

comment 6y ago · link · parent

I've been programming C++ for 25 years and never had to use CMake in any professional context.

I don't think there's any point in using CMake if you're not forced to support Windows.

comment 6y ago · link · parent

All those are just ways to avoid actually using the GC. Which proves the point: GC is ineffective and works best when not used at all.

The future is not garbage collected.

comment 6y ago · link · parent

I agree with the poster below. GC's problem isn't speed, per se; the problem is that GC only works effectively if you assume infinite memory and cache. Once you start approaching memory limits you start feeling pain.

comment 6y ago · link · parent

We've been discussing the "10% slowdown" for two decades now, since at least the time of Java's first release.

Microsoft even tried to rewrite Windows in C# on the premise.

Meanwhile in 2020 Java programs still suck ass to use. (Sorry for the crude language, but it's true.) Microsoft memoryholed the whole C# thing and went back to promoting C++.

comment 6y ago · link · parent

No, it isn't. I'm okay with recompiling every time my compiler changes, it's not a big deal and we have sources for everything we run.

comment 6y ago · link · parent

Yes, that is the hard part.

comment 6y ago · link · parent

> Role clarity is a huge one in my book.

Yes, if you want to be a cog in a machine.

That said, it seems you're complaining about FAANG-type companies. These guys are hiring "top talent" only as a defensive measure, so that upstart competitors don't get them. It's not expected for "top talent" to actually contribute to something useful.

comment 6y ago · link · parent

> ...that take multiple seconds to load.

I think you mean "minutes".

Open the developer tools and prepare to be surprised how long the average site takes to get to the "everything loaded" state.

P.S. I'm only slightly exaggerating. There's an awful lot of bullshit being loaded behind the scenes on the average site. Good thing I'm not using a weak Internet connection.

comment 6y ago · link · parent

As someone who has done lots of embedded Lua, I can confidently say that embedding V8 is definitely not what I want.

I want an embedded statically-typed language that compiles directly to something that is memory layout compatible with C++.

We have 1001 languages now, but it looks like I'd still have to write my own to get what I want...

comment 6y ago · link · parent

> People want you in the office so they can babysit you.

Only if you're doing a commoditized, conveyor-belt kind of work.

Some of us want you in the office so that we can mentor and train you. Teaching doesn't work too well remotely.

comment 6y ago · link · parent

Lol.

For every young programmer learning Rust there are probably 10000 learning C.

C is still the only language you can count on anyone with a programming-related education to have knowledge of. (That doesn't translate into being able to program is C, but still.)

comment 6y ago · link · parent

> 1 / 0 just returns 0, #yolo

No thanks.

comment 6y ago · link · parent

You're not supposed to catch exceptions. They are not for handling logic. They're there to make fatal errors across threads and modules be safe and robust.

comment 6y ago · link · parent

> ...C++ committee's ignorance towards practical concerns such as debug build performance, error messages, build times...

These practical concerns have no place in an ISO standard.

Do you even know what the C++ committee's purpose is?

comment 6y ago · link · parent

> ...but it tought people what can be done with a thorough design.

Lazy-by-default is clearly wrong and clearly a broken design. If that is 'thorough', I fail to see any advantages to 'thoroughness' compared to just making it up as we go along.

comment 6y ago · link · parent

> it will kill C/C++

There is no such thing as a "C/C++", so how can you kill something that doesn't exist?

comment 6y ago · link · parent

The "8 megabytes" is virtual memory. You're only incrementing a counter in a table, nothing is actually allocated until you actually start using that stack.

comment 6y ago · link · parent

> Good luck finding any C++ compiler that implements latest fetures.

Googling finds me something called 'gcc' and 'clang'. Really weird and esoteric stuff, I must be a googling wizard.

comment 6y ago · link · parent

> ... easy to program as a general language. lisp, nim, etc...

C++ templates are just a compile-time lazily-evaluated Lisp.

As always, the criticism of C++ comes down to "programming is hard, let's go shopping".

If you don't want to learn and you just want to do the bare minimum to keep your 8 hour coding job, there's already plenty of languages that nail this niche. C++ obviously is not for you, just move on and don't make a redundant comment.

comment 6y ago · link · parent

Well, yes.

Experimenting on humans is unethical and (mostly) illegal.

comment 6y ago · link · parent

> And made them harder to understand.

Sorry to be blunt, but I'm sure that C++ isn't the problem here.

comment 6y ago · link · parent

> Django vs Rails vs a huge bundle of JS libraries cobbled together at random... for most programming work it doesn’t matter.

It might not matter to you, but it sure matters for the end user.

This sort of attitude is why blog pages weigh north of 20 Mb and load for minutes nowadays.

comment 6y ago · link · parent

> lightweight skin for the deprecated Internet Explorer

Fix't it for ya.

comment 6y ago · link · parent

> the power to take all our money without our consent

Is this really a thing in the USA?

I feel for you guys.

comment 6y ago · link · parent

Next in news: over 6.5 trillion cigarettes are sold per year.

shrug

I wonder what the public health perception on videogames will be like in 100 years.

comment 6y ago · link · parent

I have a Unihertz Titan and it feels like a better Blackberry than Blackberry ever was. (I only ever used Blackberries since BB10 and later.)

comment 6y ago · link · parent

To collect your data and show you ads.

comment 6y ago · link · parent

Sure you can. The so-called "virtual machines" have existed for a while now. :)
1
124125126
135