yt-dlp's jsinterp.py https://jxself.org/compiling-the-trap.shtml I've got subleq+eforth ( https://github.com/howerj/muxleq ) running in JS which is dead simple to do. No input but I could output ASCII mapping values to an array. https://esolangs.org/wiki/Subleq So, yes. yt-dlp runs propietary Youtube JS code defying the original purpose.
Bytecode VMs in surprising places (2024)
31–40 of 74 posts
Re: Bytecode VMs in surprising places (2024)
#32yt-dlp's jsinterp.py https://jxself.org/compiling-the-trap.shtml I've got subleq+eforth ( https://github.com/howerj/muxleq ) running in JS which is dead simple to do. No input but I could output ASCII mapping values to an array. https://esolangs.org/wiki/Subleq So, yes. yt-dlp runs propietary Youtube JS code defying the original purpose.
Why youtube does not use tls fingerprint to block ytdlp?
Re: Bytecode VMs in surprising places (2024)
#33yt-dlp's jsinterp.py https://jxself.org/compiling-the-trap.shtml I've got subleq+eforth ( https://github.com/howerj/muxleq ) running in JS which is dead simple to do. No input but I could output ASCII mapping values to an array. https://esolangs.org/wiki/Subleq So, yes. yt-dlp runs propietary Youtube JS code defying the original purpose.
Why youtube does not use tls fingerprint to block ytdlp?
Re: Bytecode VMs in surprising places (2024)
#34On one hand, all these mini interpreters and compilers are cool. I have a soft spot for extensible systems. On the other hand, all these things are a huge security problem. When every subsystem and data format is carrying around its own Turing complete bytecode and JIT, they all need to be secure and bug free for the system to be secure and bug free. And that far more code surface to keep clean.
Re: Bytecode VMs in surprising places (2024)
#35Re: Bytecode VMs in surprising places (2024)
#36Re: Bytecode VMs in surprising places (2024)
#37Some other examples: - ACPI configuration for power management and platform stuff [1] - Bitcoin transactions [2] - TrueType fonts [3] [1] https://wiki.osdev.org/AML [2] https://en.bitcoin.it/wiki/Script [3] https://learn.microsoft.com/en-us/typography/opentype/spec/t...
Since ACPI was mentioned, let's not forget about EFI! https://uefi.org/specs/UEFI/2.10/22_EFI_Byte_Code_Virtual_Ma...
EFI ByteCode (EBC) is meant to help at least the portability side. I'm not sure if anybody is actually delivering devices with EBC OpRoms yet though. I'm also not sure if anybody is looking at using the EBC VM to sandbox untrusted OpRoms.
Re: Bytecode VMs in surprising places (2024)
#38Re: Bytecode VMs in surprising places (2024)
#39The Python pickle format is a bytecode [1], although not a Turing-complete one, I think. [1] https://formats.kaitai.io/python_pickle/
Re: Bytecode VMs in surprising places (2024)
#40I plan to eventually use it for things like automatic spam filtering as well.