Email or username:

Password:

Forgot your password?
105 posts total
Raph Levien

Here's my ATypI talk on the Rust secure font stack we're working on in the Chrome and Google Fonts teams, powering our open-source font rendering stack, and starting to be featured in Chrome M131 beta:

youtube.com/watch?v=2HuxUN-mEI

Thanks to @atypi for hosting the conference and publishing the talks!

#chrome #fonts #rustlang #ATypI

Raph Levien

The recordings for the last virtual
@bevy are finally up, listen to @scim sharing his knowledge on: "Compute-centric vector graphics using bevy_vello" youtu.be/VQGQhotekvY #rustlang #bevyengine 🦀

Raph Levien

I've uploaded a video of my "I want a good parallel computer" talk: youtube.com/watch?v=c52ziyKOAr

I also have a half-finished blog post where I intended to go into more detail, but I'm posting this now because I hope it can provoke some interesting discussion. I'll put a little more context here, and I'm also happy to answer questions.

(1/4)

Raph Levien

One of the main things I can't do in the current graphics API is run a 2D renderer within bounded memory, at least without having a fence and readback to the CPU, which could tank performance. The underlying problem can do it, but you need to be able to dynamically dispatch the various parts of the problem and use queues to connect the pieces, which compute shaders can't do. The recent development of work graphs can do queues and bounded memory, but...

(2/4)

zellyn

@raph Hey Raph, just watched/listened to the talk. Amazing stuff. I have a comment, and a few questions, if you have time 🙂

Comment: Array of low-powered CPUs? TIS-100 did it first!!! :-)

Questions:
- What do you think of Mojo? IIUC, it's a big advance in the "lowering computation graphs to heterogeneous hardware, currently Python + SIMD, potentially arbitrary computation graphs"
- I was going to ask about your instincts for what the "right" language might look like, but you covered it in Q&A

Raph Levien

I'll be presenting our paper on GPU-friendly stroke expansion with @armansito at HPG 2024 today in Denver.

We've put together a landing page that has a 40 second "fast forward video," a link to the paper, and also a fun interactive demo (written in Rust, based on xilem_web).

linebender.org/gpu-stroke-expa

Raph Levien

@armansito You can watch a video of the talk here: youtu.be/qPmwbp7A3BQ?t=20666

I'm happy with the way it turned out, and there's some interesting Q&A at the end also.

Raph Levien

A brief grumble at our media

I am glad that Harris is our (presumed) candidate now, I need to add my bit to the wave of contributions that has been rolling in after Biden's announcement.  That said, the media-driven effort to force Biden's resignation was appalling. Some background: I am in my 60s now, I have some idea of what is waiting for me in the next 20-30 years, because in the last 3 years three parents and parents-in-law died, all in their eighties.  

dr2chase.wordpress.com/2024/07

A brief grumble at our media

I am glad that Harris is our (presumed) candidate now, I need to add my bit to the wave of contributions that has been rolling in after Biden's announcement.  That said, the media-driven effort to force Biden's resignation was appalling. Some background: I am in my 60s now, I have some idea of what is waiting for me in the next 20-30 years, because in the last 3 years three parents and parents-in-law died, all in their eighties.  

Raph Levien

Today is a good day to go to Quaker meeting. I've had a feeling of things being unmoored, not making much sense. That hasn't changed, only sharpened a bit. I don't have answers, nor will my meeting, but what I will find there is a group of people feeling the same things and wanting to make the world better.

We're not known for our proselytizing, but Quaker meetings are open and welcoming to all who seek. If you've been curious, today might be a good day.

Raph Levien

I've just put together a 40 second "fast forward" video for our High Performance Graphics talk later this month: youtube.com/watch?v=gkeqny6zMD

The animations were all hand-coded in Rust and rendered in Vello in real time. Just a screen record in OBS to add the voiceover, no other editing. This feels like a preview of the potential for this infrastructure to support high-powered creative tools.

Raph Levien

I'd like to share with you the "State of Text Rendering 2024", a survey of the Free & Open Source fonts & text rendering landscape advancements since 2009.

behdad.org/text2024/

Federico Mena Quintero

@behdad Ooooh, excellent. I'm really going to enjoy reading this over coffee.

Raph Levien

@armansito and I have been working for many months on a paper, GPU-Friendly Stroke Expansion. We're pleased to say it's been accepted to HPG 2024, and we'll present it July 26 in Denver.

A revised draft is at arxiv.org/abs/2405.00127. There's a lot of stuff in there, both math for the geometry of curves and GPU implementation techniques. We'll have some more material as we get closer to the conference and put together the talk.

Inês Almeida

@raph @armansito That's looking pretty nice!
I had to read it a couple of times to roughly understand it, but def ended up getting very useful stuff out.

Could you also share the "number of published techniques for GPU rendering of filled paths"?

Ty for sharing and congratulations on getting it accepted 😊 💜

Raph Levien

As paper co-chair for the High Performance Graphics conference (together with AMD's @AaronKnoll1) I am incredibly proud to announce that the paper line-up is now officially available on the HPG'24 website:

highperformancegraphics.org/20

Raph Levien

I'm taking next week off, and thinking of going to Harbin Hot Springs for a day or two. Last time I went with a Quaker friend. This time, I could go by myself (and the solitude does sound appealing), but I'm also wondering: is there anybody in the Bay Area who might want to go with?

Talin

@raph Interesting, it's been a while since I have been to Harbin. However, I plan to attend BayCon 4th of July weekend.

Raph Levien

All talks from RustNL 2024 are now published!

youtube.com/playlist?list=PL8Q

Check out all our amazing speakers: @raph, @Mara, Niko, Alice, @rikarends, Michael, @jpixton , Leon, @hdoordt, James, @sophiajt , @kevinaboos Folkert, @unsafe , @dirbaio and @lulf

Raph Levien

My #rustnl2024 talk, "Xilem: Let's Build High Performance Rust UI" is now published: youtube.com/watch?v=OvfNipIcRi

I had a lot of fun in Delft, and many thanks to the conference organizers for making it possible and posting the video.

Raph Levien

@raph - Showing some new fun 2D GPU rendering tools being built. Parley crate for font rendering, something that I've seen many people saying has been lacking in Rust UI kits for quite some time (fonts are hard). Xilem and Vello for all your performance rendering needs.

Raph Levien

I'll be giving my talk on Xilem at #rustnl2024 this afternoon (14:40 CEST). It'll be on the conference livestream: 2024.rustnl.org/live/

There'll be a lot to present. Among other things, we did the 0.1 release of Xilem last night. Things are moving!

Matt Campbell

@raph Is VoiceOver broken for you when you use the laptop speaker, or only the room's AV setup?

Raph Levien

I'm on the train to Delft for #rustnl2024 . I still have more work to do on the slides, and am a bit tired from the flight, but I'm sure it's going to be a great experience and I'm looking forward to meeting lots of people.

I was not able to do a lot of implementation work on Xilem because I was trying to meet a paper deadline, but the community has really come together, and I think the demo will be impressive. It's come a long way just in the last couple of weeks.

Patrick Dubroy

@raph I ended up getting a ticket — hopefully see you there! Looking forward to the demo and hearing the latest on Xilem.

Raph Levien

A major project I've been working on for many months is rendering vector graphics strokes on GPU. @armansito and I recently wrote a paper on our techniques, and it's now available on arXiv (and also submitted to a relevant conference): arxiv.org/abs/2405.00127

There's accompanying code and some more resources in the repo: github.com/linebender/gpu-stro. And of course there's the implementation in Vello.

I'm very proud of this work. Fingers crossed the paper gets accepted.

A major project I've been working on for many months is rendering vector graphics strokes on GPU. @armansito and I recently wrote a paper on our techniques, and it's now available on arXiv (and also submitted to a relevant conference): arxiv.org/abs/2405.00127

There's accompanying code and some more resources in the repo: github.com/linebender/gpu-stro. And of course there's the implementation in Vello.

Raph Levien

Another edition of This Month in Xilem: linebender.org/blog/tmix-03/

There's a lot of work here that's under the surface: GPU stroke expansion, progress on the Masonry refactor (which, among other things, will enable using the widgets with different language bindings or reactive layers), and font loading.

We're also really looking forward to @rustnl next month. That will be a great place for people interested in Rust UI to come together.

#xilem

Raph Levien

A week ago I figured out that the evolute of an Euler spiral (Cesàro equation κ(s) = s) is another simple power law spiral, the Cesàro equation being κ(s) = -1/s³. The writeup is at: linebender.org/wiki/curves/eul

None of the math for this was very hard, in fact I can see the result being obtained hundreds of years ago if anyone had bothered to look. A challenge for math enthusiasts: does the result generalize to other spirals with a simple power law?

Evan Martin

@raph I think there's some omitted words(?) in the post in the sentence "In this derivation, we'll fluidly mix complex numbers and 2D vectors, writing." At least I wasn't sure how to parse it.

Go Up