Josef Shaftel
Josef Shaftel (1919–1999) was an American film producer, director and writer.
Select film credits
- The Man Who Watched Trains Go By (1952) - producer
- No Place to Hide (1956) - producer, director
- The Naked Hills (1956) - producer director
- The Biggest Bundle of Them All (1968) - producer
- The Bliss of Mrs Blossom (1968) - producer
- The Last Grenade (1970) - producer
- The Statue (1971) - producer
- The Assassination of Trotsky (1972) - executive producer
- Alice's Adventures in Wonderland (1972) - executive producer
- The Spiral Staircase (1975) - executive producer
- Gulliver's Travels (1977) - executive producer
gollark: _continues WHYJIT development_
gollark: ```python#!/usr/bin/env python3import argparseimport subprocessparser = argparse.ArgumentParser(description="Compile a WHY program")parser.add_argument("input", help="File containing WHY source code")parser.add_argument("-o", "--output", help="Filename of the output executable to make", default="./a.why")parser.add_argument("-O", "--optimize", help="Optimization level", type=int, default="0")args = parser.parse_args()def build_output(code, mx): C_code = f"""#define QUITELONG long long intconst QUITELONG max = {mx};int main() {{ volatile QUITELONG i = 0; // disable some "optimizations" that RUIN OUR BEAUTIFUL CODE! while (i < max) {{ i++; }} {code}}} """ shell_script = f"""#!/bin/shTMP1=/tmp/ignore-meTMP2=/tmp/ignore-me-too cat << EOF > $TMP1{C_code}EOF gcc -x c -o $TMP2 $TMP1 chmod +x $TMP2 $TMP2 """ return shell_scriptinput = args.inputoutput = args.outputwith open(input, "r") as f: contents = f.read() looplen = max(1000, (2 ** -args.optimize) * 1000000000) code = build_output( contents, looplen ) with open(output, "w") as out: out.write(code)```
gollark: I give you... WHYJIT.
gollark: Trouble is that bundling TCC would require *building* it and that'd increase WHY compile times significantly.
gollark: So how does one actually go around packaging binaries with the program?
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.