MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
import javafx.application.Platform; | |
import javafx.stage.Stage; | |
import javafx.stage.WindowEvent; | |
import java.util.Timer; | |
import java.util.TimerTask; | |
public class AnimatedTitle { | |
public interface Animation { |
@Dannie well yes but actually no. The problem is still that when the body of a lambda is executed, a stack frame is allocated. The point of trampoling is to not do that
essentially you have some run
method of Trampoline which is iterative or tail recursive and by suspending all of your functions in that Trampoline type (rather than executing them in place), you can make the execution of the original function only take one stack frame
it's all very roundabout
and actaully something I didnt really think about is that you can manually write run
to be iterative, not relying on there being tail call optimization. That means it's possible in java as well @tterrag
yeah here we go
interface Trampoline<T> {
default T run() {
I hereby claim:
To claim this, I am signing this object:
Das BMVI hat eine völlig nutzlose App gebaut. Eine Autobahn-Info App.
Nein, es gibt jetzt nämlich eine offene API für aktuelle Verwaltungsdaten in Bezug auf Baustellen-Informationen, Webcams, Parkplätze, … - bestimmt für jemand nützlich.
Hier gibt es eine OpenAPI Spec von @creckord: https://gist.github.com/creckord/a2e09267f5fdfadc2cd75eedb3182b8a