LWN: Comments on "Tromey: JIT Compilation for Emacs" https://lwn.net/Articles/747019/ This is a special feed containing comments posted to the individual LWN article titled "Tromey: JIT Compilation for Emacs". en-us Tue, 21 Oct 2025 14:42:28 +0000 Tue, 21 Oct 2025 14:42:28 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Tromey: JIT Compilation for Emacs https://lwn.net/Articles/747030/ https://lwn.net/Articles/747030/ bredelings <div class="FormattedComment"> This looks really interesting. I took a look at the libjit C++ interface, and they have overloaded some of the operators so that you can write things like x*y+z instead of manually generating a multiply and then an add.<br> <p> I wonder if they could not also give the function objects an operator() to automatically generate a function call. Although I suppose, if you were adding an operator(), if would want to use that to evaluate the function and get a result, instead of generate code for a call.<br> <p> I think an equivalent to C's ternary ? operator would also be useful, although it looks like you could write this yourself without much trouble.<br> </div> Sat, 10 Feb 2018 15:10:59 +0000