Saturday, November 09, 2024

Python 3.13 += JIT

 The Big Changes in Python 3.13 with Ɓukasz Langa - Software Engineering Daily

Python 3.13 was just released and brings fundamental changes to the language including a new interactive interpreter, experimental support for running in a free-threaded mode, and a Just-In-Time compiler, or JIT. There are also updates to the Python type system, module removals, and docstring improvements among many other changes.





Preact Without Build Tools

Preact Without Build Tools.md

This is a demonstration of using Preact without any build tooling. The library is linked from the esm.sh CDN, however a standalone JS file exporting HTM + Preact + Hooks can also be downloaded here.

HTML

<script type="module" src="./main.js"></script>

JS

import { render } from 'https://esm.sh/preact@10.7.2'; import { useState, useCallback } from 'https://esm.sh/preact@10.7.2/hooks';
import { html } from 'https://esm.sh/htm@3.0.4/preact';