Skip to content

LDN: November 2018  #82

@bradfier

Description

@bradfier

Tracking issue for November event

  • Date: Tuesday 27th November @ 19:00 UTC
  • Theme: None
  • Comms
  • Venue: Mozilla London
  • Sponsors
    • Option
  • Speaker(s)
    • Announcements
    • Main Speaker - Pierre Chevalier & Dug Campbell - Rust: Beyond the language, an ecosystem
    • Speaker - Jamie Brandon - Writing an Electron app in 100% native Rust
    • Lightning Talk
  • Post event write up on URLO.

Announcements

  • stuff.unwrap()

Pierre & Dug Abstract:

As a language, rust gives you safety, performance and high level abstractions.
This is more than any other language can claim in 2018. This is reason enough
to use rust in performance and security critical projects such as the SAFE
Network.

By using rust to implement PARSEC, a novel consensus protocol many orders of
magnitudes faster than the blockchain, we were reminded that beyond the
language, the entire rust ecosystem conspires to making your projects
successful.

In this talk, we will use our experience writing production code in rust to
convey all the benefits we received from being part of this inclusive
ecosystem. Beyond the compiler and the great toolchain that comes with it, we
will share concrete examples of many different aspects of the wider rust
environment that make it so enjoyable to write production code with confidence.

Jamie Abstract:

Electron is a popular way to write cross-platform GUI apps in JavaScript.
Others have already written electron apps in Rust, either by compiling the
Rust code to WebAssembly and writing the UI code in Rust directly, or by
linking the Rust code as a native library and writing the UI code in
JavaScript.

These are both sensible approaches. But compiling to WebAssembly rules out
using threads, sockets and any native libraries that rely on them, as well
as native tools like gdb and valgrind. And writing the UI code in
JavaScript requires, well, writing JavaScript. Wouldn't it be nice if we
could have the best of both worlds - write the UI code in Rust but still
have access to all our favorite libraries and tools?

I'll demo a proof-of-concept Electron app written entirely in native Rust,
and show how to manipulate the DOM, trigger animation frames and attach
event callbacks without ever leaving Rust.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions