cincura_net, to dotnet
@cincura_net@mas.to avatar

Add scalar evolution analysis and do IV widening based on it

https://github.com/dotnet/runtime/pull/97865

danzin, to python
@danzin@mastodon.social avatar

PyPy v7.3.16 has been released:
https://www.pypy.org/posts/2024/04/pypy-v7316-release.html

"This release includes security fixes from upstream CPython, and bugfixes to the garbage collector, described in a gc bug-hunt blog post."

The mentioned blog post is https://www.pypy.org/posts/2024/03/fixing-bug-incremental-gc.html by @cfbolz

Changelog at https://doc.pypy.org/en/latest/release-v7.3.16.html#changelog

Some changes I like:

  • Faster, correct str.expandtabs()
  • Fix subprocess executable path on Windows (unlisted)
  • Faster normalize_exception
  • Correct cache size detection on aarch64

hywan, to PostgreSQL
@hywan@fosstodon.org avatar

Look ma, […] a new JIT compiler for PostgreSQL, https://www.pinaraf.info/2024/03/look-ma-i-wrote-a-new-jit-compiler-for-postgresql/.

The author explains how he is writing a new JIT compiler for PostgreSQL. The author uses a technics described in https://arxiv.org/pdf/2011.13127.pdf, called copy-patch. It’s an old idea with a new name, but it’s fun.

#PostgreSQL #jit #compiler #performance #sql

gabrielesvelto, (edited ) to random
@gabrielesvelto@fosstodon.org avatar

Friends from the #compiler and #jit community, I have a question about Python's copy-and-patch JIT. This article claims it's a novel technique introduced in 2021: https://tonybaloney.github.io/posts/python-gets-a-jit.html

However this looks awfully like inline-threading which was first presented in 1998 (see this: https://dl.acm.org/doi/pdf/10.1145/277650.277743) and has already been applied to other languages and VMs (see for example SableVM's 2003 paper about their implementation: https://www.sable.mcgill.ca/publications/papers/2003-2/sable-paper-2003-2.pdf).

Is it really a different approach?

jedie, to python German
@jedie@chaos.social avatar
danzin, to python
@danzin@mastodon.social avatar

Wow, PyPy has passed 400 stars on GitHub already: https://github.com/pypy/pypy

If you haven't starred it yet, now is the time :)

Also, their Sponsors page could do with some more people: https://github.com/sponsors/pypy.

For detailed data on past contributions (and another place to help fund PyPy if GitHub sponsoring isn't your thing), visit https://opencollective.com/pypy.

danzin, to python
@danzin@mastodon.social avatar

PyPy has moved to Git, GitHub:
https://www.pypy.org/posts/2023/12/pypy-moved-to-git-github.html

"PyPy has moved its canonical repo and issue tracker from https://foss.heptapod.net/pypy/pypy to https://github.com/pypy/pypy."

Even though the team prefers Mercurial, they believe being on GitHub will foster contributions.

If you know your way around GitHub Actions, Buildbots, GH Wikis, or are interested in contributing, now is a great time to get involved. Starring the repo helps with visibility.

Congrats @mattip @cfbolz and team!

#pypy #python #JIT

hugovk, to python
@hugovk@mastodon.social avatar

Not only has Brandt Bucher opened a PR to add #JIT compiling to #CPython, he's done it via poetry!

'Twas the night before Christmas, when all through the code
Not a core dev was merging, not even Guido;
The CI was spun on the PRs with care
In hopes that green check-markings soon would be there;
The buildbots were nestled all snug under desks,
Even PPC64 AIX;
Doc-writers, triage team, the Council of Steering,
Had just stashed every change and stopped engineering,

https://github.com/python/cpython/pull/113465 #python

paulox, to python
@paulox@fosstodon.org avatar

RT @gvanrossum

Talk by my coworker (and co core dev) Brandt Bucher on how we plan a JIT for Python 3.13.

https://youtu.be/HxSHIpEQRjs?feature=shared

lcamtuf, (edited ) to random

You know, I really dislike ad blockers from the security perspective. They need exceptionally broad permissions that make the extension a juicy target for attacks. Pop one of the maintainers' Google or Github accounts and own hundreds of millions of people overnight - their email, bank accounts, social media identities, and all that.

The consequences of simple coding errors are similarly disastrous - and I bet that there are some good UXSS bugs lurking in all that JavaScript.

For these reasons, I resisted ad blockers for 20+ years, and I endured countless cookie prompts, subscription interstitials, "sponsored results", and unskippable ads. But around 2020, the anti-user patterns on the web have gotten unbearable. And I say this as a person who grew up in the era of auto-playing Flash-based pop-under ads.

I'm not a security absolutist. It's all about trade-offs: the convenience of using a modern web browser, for example, generally outweighs the risks of living with its massive attack surface. But in the case of ad blockers, you gotta take a hit just to continue to browse in peace. It blows.

lispi314,

@lcamtuf @blallo @parkern @fugueish Personally I'd sooner trust Bob's pure #Ada or #CommonLisp browser than any of the others.

Especially if it lacks anything resembling #JIT and especially if it lacks #Javascript & #WASM functionality entirely.

It would then have the overwhelming majority of the attack surface that keeps showing up in CVEs removed.

hugovk, to python
@hugovk@mastodon.social avatar

It's the annual Python core developer sprint, this year kindly hosted by @encukou and Red Hat in Brno, Czechia -- thank you!

The first of (at least!) three PEPs being authored this week is by @freakboy3742 and targeting Python 3.13:

PEP 730 – Adding iOS as a supported platform

https://peps.python.org/pep-0730/

Discussions:

https://discuss.python.org/t/pep-730-adding-ios-as-a-supported-platform/35854?u=hugovk

hugovk,
@hugovk@mastodon.social avatar

Just published:

"A JIT Compiler for CPython"

Brandt Bucher's talk from the core dev sprint, on plans to include a just-in-time compiler in Python 3.13.

https://youtu.be/HxSHIpEQRjs?si=Y1aPKDlf3mM0JX2N

#Python #Python313 #CoreDevSprint #JIT

igb, to Java
@igb@mastodon.hccp.org avatar

Got #TornadoVM installed and running on my local Linux laptop, a #Lenovo 14s Thinkpad with an 10th generation Intel® Core™ CPU and an integrated Intel® UHD graphics card.

Took a bit of futzing around with runtime dependencies, but the required packages (for Ubuntu Jammy) were:

intel-basekit
intel-oneapi-runtime-opencl
intel-opencl-icd

I also had to explicitly set

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin

#Java #Graal #JIT #ML #OpenCL

rml, to GraphicsProgramming

Reducing divergence with an in-shader #JIT #VirtualMachine for material graphs in #Vulkan
https://www.youtube.com/watch?v=Ru3YutCVXsM

lispi314, to random

Something's going on with #Tor exit nodes again. Higher than normal rate of attempts at interfering with my HTTPS connections.

lispi314,

@RecursiveElegance Not sure where in particular, most of my old resources seem to be gone now.

But generally for #Tor users it's an annoyance as its anti-bot measures are very user-hostile.

It also makes mandatory to enable #Javascript in one's #browser, which in general but especially in conjunction with #JIT is a #security hazard.

Depending on the settings used, it can also act as a general #MitM attacker.

Infuse - Zeebo multiplatform emulator / Qualcomm BREW reimplementation development #2 (www.youtube.com)

Infuse is a Qualcomm BREW subsystem reimplementation and Zeebo high-level emulator written from scratch, based purely on clean reverse engineering attempts. Currently it is using dynarmic ARM JIT core and boots some Zeebo commercial games as well as BREW samples....

happyborg, to Futurology
@happyborg@fosstodon.org avatar

Does anyone remember the open web, and how Google Chrome captured it?

Google is now de facto dictating browser functionality.

is now part of the standards group. 🤔

🔥 This is fine.🔥

folkerschamel,

@happyborg @clmbmb

I'm open for other arguments.

No, my last statement was just to refute the argument that is using is market power of to lock out other browsers.

BTW, my understanding is that a major reason of for switching to was that the compiler was significantly better. Meaning, the better technology won.

I don't want to say that everything the big companies are doing is only good. But it's not black-and-white.

Kovah, to random
@Kovah@mastodon.social avatar

🧪 PHP tip: Consider using JIT (Just-In-Time) compilation in PHP 8 to boost your app's performance. Enable in your php.ini. It's a technique that will compile parts of the code at runtime, so that the compiled version can be used instead.

Good introduction: https://stitcher.io/blog/php-jit

#PHP8 #JIT #PerformanceTuning

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • everett
  • DreamBathrooms
  • Durango
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • mdbf
  • thenastyranch
  • Youngstown
  • slotface
  • cubers
  • kavyap
  • khanakhh
  • megavids
  • cisconetworking
  • tacticalgear
  • osvaldo12
  • ethstaker
  • modclub
  • rosin
  • tester
  • anitta
  • normalnudes
  • GTA5RPClips
  • Leos
  • provamag3
  • lostlight
  • All magazines