#SharedMemory

¬ne'er-do-wellownlife
2024-05-25

Ooh, boy! I absolutely love this retro pixel futuristic neon vibe it has going for it! Will it ever make it to ? Let's hope so!

animalwell.net/

2024-04-06

Exploring a new #cplusplus design idea for container use in #sharedmemory

gitlab.com/misteffens/Triviali

Feedback appreciated! Is this useful? Does anyone know whether this #DesignPattern is already known or in use?

Karsten Schmidttoxi@mastodon.thi.ng
2023-10-23

#HowToThing #025 — Sampling, fitting, transforming & plotting 10k data points per frame using a whole bunch of underexposed thi.ng packages:

- thi.ng/colored-noise: using violet noise as fake data source
- thi.ng/matrices: fitting/transformation matrix creation
- thi.ng/simd: WASM-based batch processing
- thi.ng/malloc: Memory management for WASM/SIMD data buffers
- thi.ng/hiccup-canvas: 2D canvas visualization

As noted in the comments, the SIMD batch processing here is to illustrate the overall usage and handling. In this specific example, the main bottleneck is the actual canvas drawing step (esp. in Firefox, which in this case is ~3.75x slower than Chrome [latter easily manages 60fps]). The SIMD step could handle magnitude(s) more points per frame, also on FF...

As an aside, this is now already the 140th (!!!) fully documented small example project, bundled as part of the thi.ng/umbrella monorepo... Please do tell me at which point the prejudice of not having enough starting points & info about these packages will be fading into oblivion... 😅

Demo:
demo.thi.ng/umbrella/simd-plot

Source:
github.com/thi-ng/umbrella/tre

Also big thanks to Maximillian Schulte for sending me off on this topic (as a tangent) via an issue on GitHub... I've been meaning to create more examples for these above packages for a while! Last but not least, hat tip & nerd sniping @demofox re: colored noise... 😎🤩

#ThingUmbrella #WebAssembly #SIMD #SharedMemory #DataViz #Noise #TypeScript #JavaScript #Tutorial

Screenshot of the example visualizationScreenshot of the thi.ng/colored-noise readme section about violet noise, showing 4 ASCII-art histograms using different configurationsScreenshot of the linked TypeScript source code
Alexandre B A Villares 🐍villares@ciberlandia.pt
2023-09-26

Have you ever played with #Python's #sharedMemory #ShareableList ?

Two Python REPLs, the first on the right:

Python 3.10.4 (/home/villares/thonny-python-env/bin/python3)
>>> from multiprocessing import shared_memory
>>> b = shared_memory.ShareableList(range(10))
>>> b
ShareableList([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], name='psm_2cc133d4')
>>> b
ShareableList([12123123, 1, 2, 3, 4, 5, 6, 7, 8, 9], name='psm_2cc133d4')
>>> 


the second on the left:

Python 3.10.4 (/home/villares/thonny-python-env/bin/python3)
>>> from multiprocessing import shared_memory
>>> b = shared_memory.ShareableList(name='psm_2cc133d4')
>>> b
ShareableList([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], name='psm_2cc133d4')
>>> b[0] = 12123123
>>>
2023-07-06

Also in a just universe, threads[.]net would be a web-site all about the perils of . It is truly a shame that in our universe Z*ck was able to buy a perfectly good domain for some nonsense

Paolo Melchiorrepaulox@fosstodon.org
2023-04-21

Łukasz Langa, the CPython Developer in Residence, is speaking about "Working Around the GIL with asyncio" at PyCon US 2023 in Salt Lake City 🇺🇲🐍

He's going through two examples of data processing with Python 3.11 and how asyncio with shared memory helps speed things up ⚡

#Python #GIL #SharedMemory #AsyncIO #CPython #PyCon #PyConUS #PyCon2023 #PyConUS2023 #PythonSpeakingTour

CC @pycon @PyConUS @ambv

Łukasz on the stageŁukaszin front of the audienceŁukasz with live captionŁukasz giving his talk
2023-03-26

RPS@PAX 2023: Animal Well's subterranean world is both beautiful and unsettling - rockpapershotgun.com/rpspax-20 #Supportersonly #Indiescovery #SharedMemory #AnimalWell #PAXEast #RPS@PAX #Bigmode

2023-03-25

RPS@PAX 2023: We chat with solo dev Billy Basso and publisher Bigmode about their upcoming moody metroidvania Animal Well - rockpapershotgun.com/rpspax-20 #Supportersonly #Metroidvania #Indiescovery #SharedMemory #Exploration #AnimalWell #Bigmode #PAXEast #RPS@PAX #Puzzle #Indie

2018-05-24

got my first native node module working last night! yay! & use all the awesome syscalls!! #AllTheThings #NodeJS #polyglot #sharedmemory

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst