InfoQ Homepage JavaScript Content on InfoQ
-
Node.js 12 Release Improves Security, Performance, and Modules
The Node.js project recently released Node.js version 12, adding improvements through its underlying V8 JavaScript engine, startup performance, ES6 modules, and more.
-
J2CL: A Java-to-JavaScript Transpiler
J2CL is a source-to-source compiler that converts Java to Javascript. It attempts to solve a different problem than similar Java-to-Javascript frameworks such as GWT. Likewise, J2CL is not meant to compete with or replace existing JavaScript frameworks; J2CL is about interoperability and cross-platform code reuse.
-
Porting JQ, Command-Line JSON Processor, to the Browser with WebAssembly - Q&A with Robert Aboukhali
jq, the command-line JSON processor, originally written in C, has recently been ported to WebAssembly, and is now available in a browser JavaScript environment. InfoQ talked with Robert Aboukhalil, bioinformatics software engineer at Invitae, about the challenges of porting existing software to WebAssembly and the ensuing benefits for developers.
-
Svelte 3 Front-End Framework Moves Reactivity into the JavaScript Language, Q&A with Rich Harris
The recently released front-end framework Svelte 3 introduces a new syntax to express reactivity in JavaScript. InfoQ interviewed Rich Harris, Svelte creator, and discussed what Svelte 3 means and its implications for developers.
-
QCon NY (Jun 24-28): New Talks, a Focus on the Skills That Matter & Why You Should Join Us This Year
In the recent Stack Overflow 9th annual survey of over 90,000 software developers, we learned that non-development work remains a productivity challenge for software managers and leaders. At QCon New York, the conference for senior software developers, we have many sessions to help you learn how others have overcome those challenges.
-
Teaching the Computer to Play the Chrome Dinosaur Game with TensorFlow.js Machine Learning Library
A simple, yet entertaining and useful for educational purposes application of machine learning, was recently made available on Fritz's HeartBeat Medium publication. Google's machine learning TensorFlow.js library is leveraged in the browser to teach the computer to play the Chrome Dinosaur Game.
-
W3C Publishes WebXR Draft Specification for Direct Web Interaction with Immersive Hardware
The World Wide Web Consortium recently published draft specifications for WebXR. The WebXR Device API seeks to provide "the interfaces necessary to enable developers to build compelling, comfortable, and safe immersive applications on the web across a wide variety of hardware form factors".
-
Google Experiments with Key-Value Storage, Built-In Modules in Chrome 74
Google recently announced its intent to ship two new WICG proposals in a future version of Chrome. KV Storage attempts to bring the convenience of LocalStorage, but with better performance. The intent is to deliver this as the first example of a built-in module, leveraging the import maps proposal.
-
Benchmark Ranks 18 Front-End Frameworks Implementation of Medium.com Clone
The RealWorld-based benchmark comparing the implementation by 18 front-end frameworks of a non-trivial full-stack application code-named Conduit recently updated its results. Most (13 out of 18) frameworks obtain a top-tier LightHouse performance score. Svelte, Stencil, AppRun, Dojo, HyperApp and Elm exhibit the lowest payload transferred over the network (< 30 KB).
-
Nest.js 6 Improves GraphQL Integration and Improves Platform Flexibility
Nest.js recently announced the release of version 6 of their TypeScript framework. Nest.js 6 improves support for GraphQL and also decouples the platform-specific portions of their framework to support applications beyond their traditional Express and Node.js based architecture.
-
Ink: React for Interactive Command-Line Apps
Ink.js, self-described as "React for Command Line Interfaces", recently released its second major iteration. Ink enables to build command-line apps by assembling React components. Developers may then leverage their React knowledge, and the React ecosystem.
-
Ts.ED Provides TypeScript Framework Leveraging Express and Decorators
Ts.ED provides a server-side TypeScript framework on top of Node.js and Express. The framework provides classes and decorators to simplify common server-side patterns, and offers integration with many other projects including TypeORM, Swagger, GraphQL, AJV, Passport.js, and Socket.io, among others.
-
NSFW.js: Machine Learning Applied to Indecent Content Detection
With the beta-released NSFW.js, developers can now include in their applications a client-side filter for indecent content. NSFW.js classifies images into one of five categories: Drawing, Hentai, Neutral, Porn, Sexy. Under some benchmarks, NSFW categorizes images with a 90% accuracy rate.
-
React 16.8 Releases React Hooks: Reusable and Composable Logic in React Components
The React team recently released React 16.8 featuring React Hooks. Hooks encapsulate impure logic (such as state, or effects) with a functional syntax that allow hooks to be reused, composed, and tested independently. Developers may additionally define their own Hooks by composition with the predefined Hooks shipped with React 16.8.
-
Emotion 10: CSS-in-JS with Flexible Scoped and Global Styling, and Server-Side Rendering
Emotion 10.0, a CSS-in-JS library, is a massive, long-awaited release with new features, improvements and bug fixes. Components can now be styled with the CSS property in a larger set of contexts, with a more natural syntax allowing access to the theme properties. A new Global component enables dynamic global styling. Those changes in turn made possible zero-configuration server-side rendering.