HNHacker News
TopNewBestAskShowJobs

jfkebwjsbx

1,123 karma · joined February 12, 2020

submissionscomments
jfkebwjsbx··on Making Advanced GUI Applications with Godot
Handling Unicode and input is not anything that breaks any design.

Mentioning Electron to solve Unicode is like thinking about a bulldozer when you need to unclog your toilet.

jfkebwjsbx··on Making Advanced GUI Applications with Godot
Nobody is saying Godot should implement their own text engine. There are several available ones they can use, or just pick whatever the platform offers.

> Why would you want to render text in a gaming engine in the first place ...

Just about every game needs text, including Unicode text. Every proper engine handles it.

jfkebwjsbx··on A ride that takes 10^20k years to complete in Roller Coaster Tycoon 2 [video]
I assume they are simply talking about fixing the bias.

Instead of randomly picking from the 4 sides, pick one from the set of legal moves.

jfkebwjsbx··on Making Advanced GUI Applications with Godot
I can try to guess a few:

- Bloat... Both are extremely heavy dependencies if you want "the real deal" vs a stripped down version that looks like Python or JavaScript.

- Performance too. Python is slow. JavaScript too, unless you use the modern JITs.

- Licensing perhaps?

- Lack of support for that use case?

- Painful interop? No idea.

jfkebwjsbx··on Making Advanced GUI Applications with Godot
Assuming that is true, it is an oversight. There is no actual technical limitation.

I am confident if Godot sees usage as a GUI/app framework, they will take care of that.

jfkebwjsbx··on Making Advanced GUI Applications with Godot
> This is more efficient then using something like a game engine which has no concept about damaged regions and so on.

A game engine can avoid redraws trivially if no relevant input/event has occurred.

Further, AFAIK some graphic APIs do support dirty rectangles too, but to be honest, for desktop/laptop GUI apps I doubt it matters compared to anything else going on in the system.

And GUIs runs perfectly fine on integrated GPUs, further reducing the cost.

Blender does this perfectly fine, for instance.

jfkebwjsbx··on Bjarne Stroustrup Weighs in on Distributed Systems, Type Safety and Rust
The person you are responding to is talking about an actual IDE, not an extension to VS Code.

rust-analyzer is great and we have waiting for it a long, long time. But it is not an IDE. Neither is the MS C++ extension.

jfkebwjsbx··on Bjarne Stroustrup Weighs in on Distributed Systems, Type Safety and Rust
It is the same for cargo, npm, pip, C++ managers and other languages.

Usually a single line does it in all of them, either in the shell or in a config file.

I call FUD.

jfkebwjsbx··on Bjarne Stroustrup Weighs in on Distributed Systems, Type Safety and Rust
> Cargo works fine with private repositories

So does any of the main package managers for C++.

> had an easier time with it

That is an empty argument. Not to mention Rust is only now in 2020 starting to get actual IDE support.

For C++ there are at least 8 major production GUI IDEs available, plus a few TUI ones too, plus dozens and dozens of specialized tools around it.

jfkebwjsbx··on Bjarne Stroustrup Weighs in on Distributed Systems, Type Safety and Rust
This keeps being repeated and repeated and it is just a myth.

Even without a package manager adding dependencies manually is quite easy for the vast majority of popular libraries. With a manager it is the same as cargo.

I assume you are talking about old, broken, unsupported, closed source, binary only libraries, but then it is not a meaningful comparison.

jfkebwjsbx··on Bjarne Stroustrup Weighs in on Distributed Systems, Type Safety and Rust
> Does the case for C++ in 2020 still exist?

The question is the opposite: you have to prove to managers the benefit overcomes the risk of using a new language. Rust is still not nearly stable nor popular enough for many fields.

Go is a very different language with different goals and constraints, so the question does not really fit.

> Rust and Go are much simpler to learn

Go is a simple language, yes. Rust is a different beast with the same intrinsic complexity as C++.

> can do everything that C++

Not exactly true (for the moment). Rust is lacking on const generics, HKTs and other details.

> sane, simple and clean build systems/package managers

That is not a big argument for the kind of projects is used for.

And it is not true either, since nowadays there are several competing, modern package managers for C++ too (build2, Meson, Conan, modern CMake...).

> not to mention async/await concurrency

The async IO model has been available in many languages for many years, including C++. In the recent years several languages (including Rust and C++) are bringing syntax sugar to let the compiler create the state machines. But it is not the only way of doing async.

jfkebwjsbx··on Bjarne Stroustrup Weighs in on Distributed Systems, Type Safety and Rust
C++ modules have been a thing for a long time even if the standard is being presented this year.

It is not a C++ idea anyway, older languages have had similar facilities.

jfkebwjsbx··on Autodesk criticised by architects
Which license change? Last year? Blender technical and financial situation has changed very much since then.

Last year was the transition period to the new UI, new renderer and everything else. 2.80 was not polished at all.

Since then they got access to way more funds from major FAANGs (NVIDIA, AMD, Microsoft, Intel...) and announced and release the first LTS which are the ones intended to be used by commercial studios for long-term projects.

Now they need the time to use that money to hire and speed up things. Future looks very, very bright for Blender.

jfkebwjsbx··on GPU Accelerated JavaScript
That sounds like a development nightmare like the one of the IE6 era, and even worse for supporting customers.

Basically you are saying code performance is nondeterministic across your user base and across time too?

I am glad WebGL is a thing for pages that need some 3D widgets where performance is not a big deal. But for general software or games? I will keep my native software.

jfkebwjsbx··on GPU Accelerated JavaScript
What are you doing with Python that somehow this would help at all?

I am really curious, specially given there are many other languages out there to move to vs js.

jfkebwjsbx··on Blue Team Rust: What Is “Memory Safety”, Really?
However you put it, tooling support is way, way better for C and C++ for obvious reasons.

Other critical bits for commercial development in many industries (certs, standards, third-party support, official bindings...) are also completely lacking.

That is not something against Rust, it is just what happens until things get popular enough.

jfkebwjsbx··on Blue Team Rust: What Is “Memory Safety”, Really?
They say can call though, so they are correct: if you can call then you are in an unsafe context.
jfkebwjsbx··on Comments on optimizations around string concatenation
If you are really performance concerned, you wouldn't use Python to begin with.

That said, there are many use cases where performance does not matter as long as it is not "too much", for different values of "too much" depending on context.

jfkebwjsbx··on Comments on optimizations around string concatenation
That depends on what you are building with the language. There are a lot of use cases outside web apps in Python. The majority of them, I'd argue.
jfkebwjsbx··on When a customer refunds your paid app, Apple refunds its 30% cut [edited]
Steam is the very opposite of a walled garden.

Putting them in the list but leaving out all console manufacturers and operating system devs? Strange.

jfkebwjsbx··on Microsoft Joins the Blender Development Fund
Blender is doing so good nowadays it is crazy... Everyone is supporting them.

I hope they keep the team smallish as always!

jfkebwjsbx··on How to pay your rent with your open source project
It depends on the percentage of users do so.
jfkebwjsbx··on A Surprise AWS Bill
I would expect an attitude towards efficiency, driven by measurements and objectivity, engineering and professionalism, not a reckless, for fun, why-not, hype-based one.
jfkebwjsbx··on How and why I attempt to use Links as main browser
> didn't exist 20 years ago...

So what? I haven't said anything about that.

As a data point, Steam (as a store) was already there 15 years ago.

> And those stores (..) is what allows all these things in native apps

Stores don't change what a native application can or cannot do.

jfkebwjsbx··on How and why I attempt to use Links as main browser
With Stores those points are solved. Prominent ones like Valve, Apple, Google, Microsoft etc offer automatic updates, URL discovery, one-click install and stuff like that. They even have extra benefits, like reviews from actual users vs marketing landing pages of web software.

Browsers have "won" for other reasons: licensing control, unavoidable analytics, subscription mechanics... All that combined is a dream for a publisher.

jfkebwjsbx··on How and why I attempt to use Links as main browser
People back then downloaded the program and ran it. Online distribution, web browsing, etc. was already a very common thing 20 years ago, specially in certain countries and businesses.

And publishers were readily available too, like for any other physical item.

If something was wanted, it did not matter, it would sell and distribute itself. Take a look at things like Lotus, Office, Windows, Doom...

jfkebwjsbx··on How and why I attempt to use Links as main browser
> It's been huge leap in reducing cost to build, distribute, learn and use apps.

Citation needed.

20 years ago you could make a commercial app with a GUI in no time with things like Delphi or Visual Basic.

Now to do the same we have to learn several standards and languages and libs/frameworks and build tools and server admin tools and...

jfkebwjsbx··on AMD Launches 12 Desktop Renoir Ryzen 4000G Series APUs: But You Can’t Buy Them
ThinkPad X13 AMD
jfkebwjsbx··on Common mistakes writing React components with hooks
A library is added to a project.

A project is added to a framework.

jfkebwjsbx··on Building a Developer Cult
Execution is key.
← PreviousPage 2 of 29Next →