Tech/News/2023/14

Tech/News/2023/14
Other languages: Bahasa Indonesia, Deutsch, English, Türkçe, español, français, italiano, polski, suomi, svenska, čeština, русский, українська, עברית, العربية, हिन्दी, ಕನ್ನಡ, 中文, 日本語, 粵語, ꯃꯤꯇꯩ ꯂꯣꯟ,…

Talking Drupal: Talking Drupal #393 – Drupal & Javascript

Today we are talking about Drupal & JavaScript with Andy Blum.

For show notes visit: www.talkingDrupal.com/393

Topics

  • Talk at FLDC
  • Important Drupal JS features
  • Drupal behaviors
  • Why use JS
  • Users with no JS
  • jQuery
  • Front end framework
  • Bigpipe
  • JS components single folder components
  • Future of JS in Drupal

Resources

Guests

Andy Blum – @andy_blum

Hosts

Nic Laflin – www.nLighteneddevelopment.com @nicxvan John Picozzi – www.epam.com @johnpicozzi Kat Shaw – drupal.org/u/katannshaw @katannshaw

MOTW Correspondent

Martin Anderson-Clutz – @mandclu Real-time SEO for Drupal Provides content authors immediate feedback about how optimized their content is against specific keywords.

How WebAssembly is accelerating new web functionality

WebAssembly is fundamentally changing how new developer capabilities and functionality can be created on the web. In order to maintain browser interoperability, new web capabilities need to go through a rigorous standardization process and cross browser implementations. Decades of major investment has pushed the browser functionality to astonishing heights, but this process can take time and the web doesn’t need to have every capability built in. After years of investing in lower level capabilities that act as building blocks for higher level functionality, we are seeing a new dawn of expanded functionality at a dramatically expanded pace.

WebAssembly 

WebAssembly is a portable bytecode format compiled from other languages to offer maximized performance. By leveraging WebAssembly, developers can take libraries and functionality from other platforms and performantly bring them to the web, without requiring any reimplementation. WebAssembly also offers advanced computation primitives like parallelizable threads and Single Instruction Multiple Data (SIMD) that enable it to maximize the performance from the CPU. 

With WebAssembly offering portability plus performant access to the CPU the web now has the necessary low level building blocks for a huge variety of new functionality to be built. All of this, of course, rests on the incredible foundation that is the full web platform—full of powerful capabilities, rendering methods, and much more. 

Real world examples 

We’ve dedicated a whole blog post to showcasing just a small proportion of the new functionality being made available thanks to WebAssembly

Some of these examples are functionality that tried to go through the standard process but didn’t make it for a variety of reasons. Other examples are being actively standardized and implemented across browsers. 

Advantages of this new development paradigm

Faster iteration speed

Because functionality doesn’t have to go through standards and get approval before shipping, iteration cycles go from taking years down to days or even hours. Approaches like Origin Trials help enable more experimentation but still require weeks or months for iterations. When you change the iteration rate of something, you fundamentally change the thing itself. 

Some fields like machine learning are advancing so fast that it is incredibly hard for standards-based approaches to keep up. By the time one design has gone through standardization and cross browser implementation, the field has moved on to something new which would have to go through the whole process again. 

That being said, standardization is still essential for many things (see disadvantages section below) and when feasible, standardizing should absolutely be attempted. 

Immediate support across browsers 

Because wasm is  supported across browsers, the functionality built on top of it will work across all browsers immediately as well. Interop and cross browser implementation of features is the biggest pain point for developers and by moving functionality to these lower level primitives, we’ll remove much of this concern. 

Improved security 

Because this functionality is built on top of incredibly hardened security sandboxes, there is substantially improved security compared to natively implemented APIs. Flash for example was removed from the web in large part because it was just too difficult to harden the complex plugin sufficiently, but now it can be run in WebAssembly, eliminating almost all security concerns. 

Disadvantages and limitations 

As with any new solution to complex problems, WebAssembly is not without disadvantages and limitations. Some of these are inherent and some have some promising solutions. 

This won’t replace JavaScript for most web development   

WebAssembly won’t replace JavaScript or make it obsolete, but rather extend its capabilities. 

WebAssembly in the browser is still entirely dependent on JavaScript and needs to interface through JavaScript to access other web functionality. Libraries and new functionality enabled by WebAssembly will be utilized through JavaScript APIs. While there are some proposals that could enable wasm to wasm module communication and direct interfacing with Web APIs, this is still in the early stages of development. 

Bundle size of pages

By moving more logic and functionality into userland, the size of pages will increase as well. This is a large problem as lower bundle size is the most important thing for a good user experience. As a result, developers should think carefully before ballooning their bundle size with this functionality, and it may be more relevant for larger web apps than smaller ecommerce or blog sites. This has long been an issue for JavaScript-heavy frameworks and is something where more solutions could be possible to improve the situation. 

Another potential mitigation here is to look at the popular functionality being shipped in userland and use that as an input about what functionality should be standardized to ship with the browser itself. By being battle-hardened in userland, browsers will have higher confidence and validation on what they should ship, dramatically simplifying the standards and implementation work. WebCodecs replacing wasm compiled FFMPEG or the handwriting recognition API to replace the wasm compiled option are perfect examples of this. 

Device capability access 

WebAssembly and other primitives are largely computation mechanisms and don’t give any kind of root system access to the OS or device itself. Functionality like hardware access (USB or Bluetooth), screen or window management, input controls, file system, clipboard, and much more still require platform level APIs to access. Chromium’s Fugu project is specifically aiming to enable all of these cases for Chromium-based browsers, but implementations across other browsers would still be needed here. 

Conclusion 

WebAssembly is already enabling new functionality in the browser, but more than that it represents a fundamentally new approach to how functionality gets developed. The best way to improve a thing is to improve how you improve it and then basking in second order growth. As with any new paradigm there are advantages and disadvantages, but overall this is a powerful new approach for browsers and developers everywhere. I can’t wait to see what we all build together with it.



By Thomas Nattestad, Product Manager – WebAssembly

Pine64’s RISC-V Star64 goes on sale April 4 for $70

I come bearing great news for everyone waiting for Star64 – the SBC will be available for purchase on April 4th. Due to some last-minute logistics issues we failed to make the March launch date announced in February – our apologies for the slight delay. The boards have now finally been delivered and getting packaged and ready for dispatch. Let me just quickly reiterate the Star64 features: Quad core 64bit RISC-V, HDMI video output, 4x DSI and 4x CSI lates, i2c touch panel connector, dual Gigabit Ethernet ports, dual-band WiFi and Bluetooth, as well as 1x native USB3.0 port, 3x shared USB2.0 ports, PCIe x1 open-ended slot and GPIO bus pins (i2c, SPI and UART). The board also features 128M QSPI flash and eMMC and microSD card slots. The board will be available in two different RAM configurations – with 4GB and 8GB LPDDR4 memory for $69.99 and $89.99 respectively. I’ll await some reviews first, but this seems like a very obvious buy if performance is at least reasonable. I really want to support RISC-V hardware, but so far, it’s been rather slim pickings. Here’s top hoping it gets better soon.

Maoist Leader Sabyasachi Panda, Two Others Acquitted In 2008 Attack Case

Maoist Leader Sabyasachi Panda, Two Others Acquitted In 2008 Attack Case.

Argus News is Odisha’s fastest-growing news channel having its presence on satellite TV and various web platforms. Watch the latest news updates LIVE on matters related to politics, sports, gadgets, business, entertainment, and more. Argus News is setting new standards for journalism through its differentiated programming, philosophy, and tagline ‘Satyara Sandhana’.

To stay updated on-the-go,

Visit Our Official Website: www.argusnews.in
iOS App: http://bit.ly/ArgusNewsiOSApp
Android App: http://bit.ly/ArgusNewsAndroidApp
Live TV: https://argusnews.in/live-tv/
Facebook: https://www.facebook.com/argusnews.in
YouTube:

/ theargusnewsodia
Twitter: https://twitter.com/ArgusNews_in
Instagram: https://www.instagram.com/argusnewsin

Argus News Is Available on:
TataPlay channel No – 1780
Airtel TV channel No – 609
Dish TV channel No – 1369
d2h channel No – 1757
SITI Networks – 18
Hathway – 732
GTPL KCBPL – 713
& other Leading Cable Networks please visit https://argusnews.in/channel_number for channel number list

You Can WhatsApp Us Your News On- 8480612900
#ArgusNews #ArgusEnglish #sabyasachipanda

Titular da Seel, Cássio Andrade fala sobre os projetos para o novo Mangueirão

O Secretário de Estado de Esporte e Lazer (Seel) conversou com o Núcleo de Esportes de O Liberal, por ocasião da reta final de obras do novo Mangueirão. Em pauta, os eventos-testes realizados com jogos de Remo e Paysandu, pela Copa Verde, bem como as ações e projetos a serem implementados na maior praça esportiva do estado, que entra definitivamente na “era” das Arenas Multiuso, com estrutura para receber eventos esportivos, culturais e religiosos, além de ter a sua capacidade ampliada de 35 para 50 mil pessoas.

Lights, Camera, Pathaan 2023: Your Daily Motion Source for Latest Movie Reviews

Welcome to our Daily Motion site for review Pathaan 2023, where you’ll find the most comprehensive and reliable movie reviews on the web. Our team of expert reviewers are passionate about cinema and provide honest, unbiased opinions on the latest releases. From Hollywood blockbusters to independent gems, we cover it all, giving you the inside scoop on what’s worth watching and what’s not. Our aim is to help you make informed decisions about what movies to see, so you can spend your time and money wisely. We’re committed to providing the highest quality reviews and analysis, and we update our site daily to keep you up-to-date on the latest releases. So join us on Daily Motion for the ultimate movie review experience with Pathaan 2023.