You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
こんにちは、kamyknです。 今回はWebAssemblyの力を試してみたかったので、履歴、ブックマーク、タブ検索ができるChrome Extensionを作ってみました。今回は記事中コードはほぼ出てきませんが、開発の際に得たWebAssemblyの知見などをメインに書いていってみたいと思います。 なお、今回作成したChrome Extensionの特徴は下記のような感じです。 技術的な概要 検索ロジック部分はfzf風に作っていてWebAssemblyによるものです。 (まだ自分用の段階ですが、WebAssemblyをnpm package化したりしてます) 処理はWebWorkerで別スレッドに逃がしています 表示部分などの実装はJS、特にVue.jsによるものです 検索対象のデータはすべてChromeのAPIで提供されるデータを利用します これらについては記事内で順に説明していきたい
this post has received too much exposure for the wrong reasons and was retracted. thanks for the feedback. it’s pretty clear that i won’t ever be able to reach the expected communication standard to get to the technical discussion that i feel is necessary. There’s nothing to gain from more heated debate about tone and language, so there will simply not be a follow up article. I’ve got electric car
AWS Lambda、あるいはAmazon ECSなどのコンテナサービスでは、アプリケーションの各種パラメーターを環境変数を使って管理するのが定石かと思います(これらのサービスに限った話ではありませんが)。 RustでAWS Lambdaファンクションを実装するにあたり、Rustで環境変数を扱う方法を調査したのでその結果を記録しておきます。 目次 検証環境 スタンダードライブラリ(std::env) 環境変数を構造体で扱う まとめ スタンダードライブラリ(std::env) std::env::varで環境変数の値を取得できます。少数の環境変数を扱う場合はこれで十分かもしれません。 std::env::varの戻り値はStringなので、必要に応じて数値型等に変換します。 ちなみに、スタンダードライブラリにはstd::env!というマクロもあります。このマクロはコンパイル時に環境変数の値を
JavaScriptはそのまま書くのではなく、書いた後に変換して使うケースが増えています。例えばTypeScriptであったり、Babelを使って新しいJavaScriptの仕様を使えるようにする、ReactのJSXを変換するといった具合です。 そんな変換処理は実行速度が命です。遅いと変更するのが面倒になり、更新してからWebブラウザなりで確認するのにも時間がかかってしまいます。そこで紹介したいのがBabelの18倍速いというswcです。 swcの使い方 例えば新しいJavaScriptの仕様であるクラスを使います。 class Foo { set foo(v) { } } class Bar extends Foo { get bar1() {} async bar2() {} } これを変換します。 $ swc index.js そうするとES3スタイルのJavaScriptが出力され
In Part 2 of my three-part Fearless Security series, I’ll explore thread safety. Today’s applications are multi-threaded—instead of sequentially completing tasks, a program uses threads to perform multiple tasks simultaneously. We all use concurrency and parallelism every day: Web sites serve multiple simultaneous users. User interfaces perform background work that doesn’t interrupt the user. (Ima
How we migrated our Tier 1 service from ruby to rust and didn’t break production. Table of Contents Background Why Rust? How we made Ruby talk to Rust Moving from Ruby to Rust Performance Improvements Performance numbers Conclusion Background In the Logistics Algorithms team, we have a service, called Dispatcher, the main purpose of which is to offer an order to the rider, optimally. For each ride
This is a follow-up post to Lock-freedom without garbage collection from 2015, which introduced Crossbeam, a Rust library that implements efficient lock-free data structures without relying on a tracing garbage collector. Crossbeam has gone through a long list of improvements since then, and it’s time to showcase where it’s at today. We’re aiming to provide a rich set of tools for concurrency akin
Rust を使ってウェブブラウザを開発する現場からの報告論文について向井が話します。感想などはハッシュタグ #misreading か hello@misreading.chat にお寄せください。 Engineering the Servo Web Browser Engine using Rust Servo, the Parallel Browser Engine Project servo/servo: The Servo Browser Engine servo/webrender: A GPU-based renderer for the web Mozilla 2 – MozillaWiki (懐古趣味) Follow up bashik7 on Twitter: “#misreading の最新epで話がでてたTLA+の紹介記事がタイムリーなことにHNにあがってた。この記事
In this tutorial we’ll discuss the ideas and concepts behind rendering water and then talk through some demo code. By the end of this tutorial you should walk away with a good sense of how water is rendered as well as a reference implementation to serve as a jumping off point should you decide to dive into more complex water rendering techniques. The full source code for the demo can be found on G
Mariko Kosaka さんをゲストに迎えて、Slack, GitHub, こんまりメソッド、JavaScript 標準ライブラリ、deno, カンファレンスなどについて話しました。 Show Notes Say hello, new logo | The Official Slack Blog Slack’s product chief is out ahead of direct listing The Starbucks Logo Over Time Gap Reverts to Original Logo After Social Media Backlash Atlassian + Slack Google Hangouts Chat Microsoft Teams Spectrum is joining GitHub The untold story of Github O
Lark is an experimental programming system which includes a programming language, a compiler, a build system, IDE support, and a VSCode plugin. As Lark is both experimental and very much in its early stages, you’ll find varying levels of completeness. The primary goal of Lark is to experiment with new approaches to designing a programming language using Rust as an implementation language. By focus
To say my first foray into Rust was a frustrating struggle would be an understatement. I picked a terrible first project that left me neck deep in Rust’s trickiest areas right off the bat. I was excited to try again. A few years ago I wrote Sumoshell, a CLI App for log analysis. I’d wanted to improve it for a while, so porting it to Rust seemed like a nice way to kill two birds with one stone. Lik
12. TODO: Asynchronous Design Patterns: Solutions and Suggestions NOTE: this guide is currently undergoing a rewrite after a long time without much work. It is work in progress, much is missing, and what exists is a bit rough. Introduction This book is a guide to asynchronous programming in Rust. It is designed to help you take your first steps and to discover more about advanced topics. We don't
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く