InfoQ Homepage JavaScript Content on InfoQ
-
TypeScript 4.3 Improves Property Write Types
TypeScript 4.3 improves property write types, more explicit overwriting of methods, and several other key additions.
-
Pyodide Brings Python and Its Scientific Stack to the Browser with WebAssembly
Mozilla announced that Pyodide, which aims at providing a full Python data science stack running entirely in the browser, has become an independent community-driven project. Pyodide uses the CPython 3.8 interpreter compiled to WebAssembly, and thus allows using Python, NumPy, Pandas, Matplotlib, SciPy, and more in Iodide, an experimental interactive scientific computing environment for the web.
-
BlockLike.js Aims to Make it Easier to Go from MIT Scratch to JavaScript Programming
BlockLike.js is an educational JavaScript library that attempts to extend the block-based Scratch learning experience to JavaScript text-based programming.
-
Zx - a Tool for Writing Better Scripts
Google recently released a new library called ZX, enabling developers to write CLI scripts using JavaScript without the hassle of dealing with Node.js directly.
-
Relay Hooks Released, Improves User Experience with Data Prefetching
Robert Balicki and Juan Tejada, software engineers at Facebook, recently released Relay Hooks, a set of new APIs for fetching and managing GraphQL data. Relay Hooks have been battle-tested on the Facebook.com rewrite, and are the recommended way to use Relay at Facebook.
-
AWS Announces the General Availability of CloudFront Functions
Recently, AWS announced the general availability of CloudFront Functions, a new edge computing capability. With this new CloudFront feature, customers can run JavaScript functions across the Cloud Front edge locations worldwide.
-
Grain: Your WebAssembly-First Programming Language - WebAssembly Summit 2021
Oscar Spencer recently presented Grain, a new strongly-typed, high-level language that compiles to WebAssembly. Grain includes functional programming features (e.g., type inference, pattern matching, closures) while allowing mutable variables. Grain also has a standard library with composite data structures (Option, Stack, Result) and system calls (e.g., I/O, process handling).
-
Prisma ORM Tool Suite Is Ready For Production in Node.js and TypeScript Apps
Nikolas Burk, developer relations at Prisma — the database ORM — recently announced that all Prisma tools (Prisma Client, Prisma Studio, Prisma Migrate) are ready for production usage. Prisma Migrate graduated from preview this year and is now generally available.
-
Content-Aware Image Resizing in Go and JavaScript
Oleksii Trekhleb, software engineer at Uber, recently explored the use of dynamic programming to speed up a CPU-intensive content-aware image resizing algorithm. Developers may use content-aware resizing to fit images into a variety of enclosing contexts (e.g., screen form factors, responsive layout container) while preserving the image’s key features.
-
Sentry Migrates Its Frontend to Typescript - Lessons Learned
Mark Story and Priscila Oliveira recently shared lessons learned when converting Sentry’s frontend codebase (one-year effort, 100,000 lines of code) to TypeScript. The pair described a gradual conversion process in which TypeScript progressively replaced JavaScript, types were continuously refined as new TypeScript language features were released, and complex types were built incrementally.
-
Effectful Effects - Unifying Bidirectional Communication between Software Components
Yizhou Zhang, assistant professor at the University of Waterloo, presented bidirectional algebraic effects, a new programming abstraction that subsumes current control flow patterns (e.g., exceptions, promises, generators) while supporting bidirectional control flows. With the new typed abstraction, all declared effects are handled, and no effects are accidentally handled by the wrong handler.
-
Cloudflare Announces the General Availability of Cloudflare Pages
Recently, Cloudflare announced the general availability (GA) of Cloudflare Pages: a fast, secure, and free way for frontend developers to build, host, and collaborate on Jamstack sites.
-
NativeScript 8 Released with Apple M1, Webpack 5, and Dynamic View Support
The recently released NativeScript 8 features official Apple M1 support, and webpack 5 builds. NativeScript 8 supports a new layout container for creative view development and two new styling properties: box-shadow and text-shadow.
-
10 Years after Inception, WebRTC Becomes an Official Web Standard
Web Real-Time Communications (WebRTC) recently became a web standard. This is a major milestone on a long journey for WebRTC that started in 2011 with Google open-sourcing key necessary technologies. The new standard will continue to evolve as the WebRTC Working Group strives to integrate new use cases — live processing of audio and video feeds, Internet of Things use cases, and more.
-
Rendering Large Logs in the Browser for GitHub Actions
Rendering large logs in a browser can be a complex task if you want a rich UI including coloring, grouping, search, and permalinks, says GitHub engineer Alberto Gimeno. This is why after testing with both a React and plain JS library, they opted to build their own.