Since static lifetimes last for the entirety of the program, it can sub in for any other lifetime (as it is guaranteed to exist until the end of the other lifetime)
243 karma · joined February 12, 2022
```py
output = prompt("My favourite animal is ") # returns a generator
start = time.time()
tokens = 0
for token in output:
tokens += 1
print(token)
print(f"Outputted {tokens / (time.time() - start)}
tokens/second")```
Also Typescript -> WASM exists in some form through assemblyscript
Super cool stuff though