InfoQ Homepage Compilers Content on InfoQ
-
MLGO Framework Brings Machine Learning in Compiler Optimizations
Google’s new Machine Learning Guided Optimization (MLGO) is an industrial-grade general framework for integrating machine-learning (ML) techniques systematically in a compiler and in particular in LLVM. Compiling faster and smaller code can significantly reduce the operational cost of large data-center applications.
-
How Rewriting a C++/ObjC Codebase in Swift Shrank it down to 30%
In a recent article on the Swift language blog, Graphing Calculator's creator Ron Avitzur recounted how his decision to fully rewrite his app in Swift allowed him to shrink its codebase down to 30% of its original size, improving maintainability and readability while not losing performance.
-
Serving Deep Networks in Production: Balancing Productivity vs Efficiency Tradeoff
A recently published work provides an alternative modality for serving deep neural networks. It enables utilizing eager-mode model code directly at production workloads by using embedded CPython interpreters. The goal is to reduce the engineering effort to bring the models from the research stage to the end-user and to create a proof-of-concept platform for migrating future numerical libraries.
-
Dropbox Makes the Android App Faster and More Reliable: Swaps C++ Code for a Native Approach
Dropbox recently published how it made the camera upload process for Android faster and more reliable. Dropbox engineers removed shared Android and iOS C++ code and replaced it with a platform-native Kotlin implementation. The engineers are pleased with the decision to rewrite the process, stating that error rates went down and upload performance greatly improved.
-
Mold is a New Linux Linker Aiming to Outperform Lld
Mold, a modern drop-in replacement for current Unix linkers, has reached version 1.0. Written by the original creator of the LLVM lld linker, mold aims to be several times faster than its predecessor.
-
JetBrains Debuts New Kotlin Compiler K2, Kotlin for WebAssembly, and More
At its recent Kotlin 2021 Premier event, JetBrains made a number of major announcements, including K2, the new, faster Kotlin compiler, support for WebAssembly, the Kotlin Symbol Processor, a new code coverage plugin, and improved static analysis.
-
Streamlining the Handoff between Designers and Developers - Travis Arnold at React Finland 2021
Travis Arnold recently presented how JSX and compiler technologies can be used conjointly to make the handoff between designers and developers more efficient. While the ideas presented are not yet implemented in any publicly available tool or library, the ideas of Arnold, who describes himself as a designer/developer, may serve to illustrate possible avenues for improved collaboration.
-
Visual Studio 2022 Preview 2 Focuses on Instant Feedback
Microsoft's second preview of Visual Studio 2022 provides a deeper look at the feature the company plans to provide in its latest IDE. As to be expected with software in development, there are also a few rough spots.
-
Google Open-Sources Fully Homomorphic Encryption Transpiler
Google has open-sourced a general-purpose transpiler able to convert high-level code to be used with Fully Homomorphic Encryption (FHE).
-
Sonatype Lift Integrates Facebook Infer, Google ErrorProne, and Other Code Analyzers
Recently launched Sonatype Lift provides a unified code analysis platform that includes over 25 tools to help developers identify a wide range of bugs in their development pipelines as soon as possible, says Sonatype. InfoQ has spoken with Stephen Magill, VP of product innovation at Sonatype, to learn more.
-
V8 Gets a Non-Optimizing Compiler Stage to Improve Performance
The latest version of the JavaScript V8 engine, V8 9.1, introduces a new intermediate compiler stage, called Sparkplug, that improves performance on real-world benchmarks by 5-15%, says V8 engineer Leszek Swirski. It will be available in the upcoming Chrome 91.
-
.NET News Roundup - Week of May 3rd, 2021
This past week was marked by a new Visual Studio Code release and Pure Virtual C++, a virtual event hosted by Microsoft. InfoQ examined this and a number of smaller stories in the .NET ecosystem from the week of May 3rd, 2021.
-
Microsoft Announces 64-Bit Visual Studio 2022
Microsoft has announced that the forthcoming Visual 2022 will finally be 64-bit. VS2022 will have full support for the upcoming .NET 6, C++20, ASP.NET Blazor, and .NET MAUI. The first preview release of VS2022 is scheduled for third quarter 2021.
-
C++ Interpreter Cling Embraces Python Interoperability and Jupyter Notebooks
Cling is an interactive C++ interpreter built on top of LLVM aiming to make C++ more suitable for exploration and rapid application development. In a recent series of articles, research software engineer Vassil Vassilev describes how they are evolving it to enable interoperability with Python, Jupyter Notebooks, and support for hardware accelerators.
-
Safe Interoperability between Rust and C++ with CXX
CXX enables calling C++ code from Rust and vice versa through safe low-level bindings so you do not have to create your foreign function interface on top of unsafe C-style signatures. InfoQ has taken the chance to speak with CXX creator David Tolnay.