Solemarc

joined 2 years ago
[–] Solemarc 1 points 7 months ago

Add Exporters MVP

[–] Solemarc 5 points 7 months ago (2 children)

At work we have a lot of old monolithic OOP PHP code. Dependency injection has been the new way to do things since before I started and it's basically never used anywhere.

I assume most people just find it easier to create a new class instance where it's needed.

I've never really seen a case where I think, "dependency injection would be amazing here" I assume there is a case otherwise it wouldn't exist.

[–] Solemarc 3 points 7 months ago (1 children)

It looks like it's 3x faster than the previous cpython wasm compilation. Recall that most of the performance improvements in python have been done in the last ~2 releases.

My distro is debian based so it's still on 3.10 which I would guess this new wasm implementation is much closer to in performance.

Compiling to wasm also means that you can distribute a binary rather than needing people to have python installed.

[–] Solemarc 26 points 8 months ago

What mantra? I think this maintainer is doing the right thing here by trying to understand why this fix works.

You should always attempt to address the root cause of an issue instead of slapping band aid patches onto everything.

To me it looks like the maintainer is trying to find out what exactly is wrong. "this doesn't happen in our C implementation" implies that there's something wrong with the rust code specifically.

[–] Solemarc 2 points 8 months ago (1 children)

From the way I'm reading it, it sounds like a super() call in a constructor must be the first thing you do or something you don't do? I never knew that was a thing... Looking at my old java code, I haven't written Java since I graduated, this does seem to line up?

[–] Solemarc 1 points 8 months ago

I guess that's meant to be 2025 since the graph is projected? Pretty funky screw up though.

[–] Solemarc 3 points 8 months ago

In the article it's said that the JiT has similar performance to the latest stable interpreter but that it's also very unoptimised. So I would assume it's inferior to the pypy implementation right now.

[–] Solemarc 8 points 8 months ago* (last edited 8 months ago) (1 children)

What about Slint? Seems to be early days for mobile dev with it though but I don't know any other native rust based UI libraries.

[–] Solemarc 20 points 8 months ago* (last edited 8 months ago) (4 children)

FYI, this is from 2015 and was deprecated around rust v1.0 release. It's not a current issue.

[–] Solemarc 4 points 9 months ago (1 children)

I really don't get it, I suppose the setting to auto fill common patterns on a form could be useful. But why do I care about an autocompleting textbox? Do you think I've never used a search engine in my life?

view more: ‹ prev next ›