News for hackers. Stuff that matters.
Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ... by hsjqllzlfkf on Sunday August 20, 2023 @12:48AM (#37196207)
You CAN try get rid of call backs if you have nice language like Julia that can inline the call back
Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ... by badsectoracula on Sunday August 20, 2023 @07:43AM (#37198202)
You mean using anonymous functions? This is still a callback, it is just a bit nicer (at least assuming the callback code is short).
Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ... by hsjqllzlfkf on Sunday August 20, 2023 @12:20PM (#37200552)
No, I mean by inlining.