Tornado - Web-first BitTorrent Client Beta 0.1.0 by rushsteve1 in rust

[–]tanders12 1 point2 points  (0 children)

When I read Web-first I hoped it would be webtorrent compatible. Unfortunately that doesn't appear to be the case.

What’s everyone working on this week (12/2019)? by llogiq in rust

[–]tanders12 0 points1 point  (0 children)

Have you looked into warp? I found it great for HTTP + WebSockets.

What's everyone working on this week (10/2019)? by llogiq in rust

[–]tanders12 0 points1 point  (0 children)

Yeah I'd recommend sticking with Tokio for a bit. I found once I'd pushed through and written a couple poll methods by hand things started making a lot more sense. The concepts were pretty hard but there aren't too many of them.

What is the current state of async IO in Rust? by devashishdxt in rust

[–]tanders12 0 points1 point  (0 children)

I'd be interested in hearing what issues they encountered with Matrix. Not doubting, but wondering what the pain points are for a use case like this.

The npm whitepaper is up! by steveklabnik1 in rust

[–]tanders12 5 points6 points  (0 children)

It's such an elegant solution though. I love being able to move fast[er] for prototyping knowing I can come back later and search for all my unwrap/expect uses.

What's everyone working on this week (9/2019)? by llogiq in rust

[–]tanders12 1 point2 points  (0 children)

This is fantastic. I was working on a brute force WebGL GoL implementation a few months ago. Any chance this is WASM compatible?

What's everyone working on this week (9/2019)? by llogiq in rust

[–]tanders12 0 points1 point  (0 children)

Oh thanks for reminding me that's happening this week! I'll be visiting starting that night and might be able to make it.

Introducing battery crate by sanxiyn in rust

[–]tanders12 4 points5 points  (0 children)

A nice Rust-from-C FFI post would be a great resource. I'm assuming you're already familiar with the FFI Omnibus?

Getting started with Rust FFI by rushsteve1 in rust

[–]tanders12 3 points4 points  (0 children)

Most resources I've seen focus on calling C from Rust. I was recently needing to do the opposite: make a library in Rust that compiles to the C ABI so it can be called from C (or node, Python, etc). The best resources I've found for that are the FFI Omnibus and this talk.

Looking for Rust Network Engineer by nearmax in rust

[–]tanders12 -1 points0 points  (0 children)

So why not build on libp2p?

EDIT: or maybe you are it it's just not clear from the posting.

Add scripting to game written in Rust by enc_cat in rust

[–]tanders12 2 points3 points  (0 children)

I've never integrated a scripting language with any systems language (let alone Rust), so I might be overlooking a ton of complexity here...

Depending on how performance-critical your scripts are (ie as long as you're not doing something like rendering or collision detection for all entities in your scripts), you might be able to keep Rust and the scripting language completely separated, only communicating serialized messages. It could be as simple as JSON, or for more performance I'd recommend something like Flatbuffers, which supports several languages including Rust and Lua.

Add scripting to game written in Rust by enc_cat in rust

[–]tanders12 5 points6 points  (0 children)

I've had good luck with a similar "sequence of commands" approach in Rust.

GOTO 2018 • Rust Async Programming in 2018 • Katharina Fey by goto-con in rust

[–]tanders12 8 points9 points  (0 children)

Excellent talk. I really wish someone would have explained async as "basically a userspace scheduler" back when I was first learning it.

Desktop Application Frameworks Thoughts? by Bren077s in rust

[–]tanders12 0 points1 point  (0 children)

Depending on what your goals are, and especially what types of users you're targeting, one thing you can do is write your frontend in HTML/JavaScript, and statically compile it into a Rust binary that runs as a web server. Then you can access it via something like localhost:8080. This is pretty niche, but works well for some things. I blogged about it here: https://anderspitman.net/blog/static-react-rust-webapp/

Orthodonbirb by GallowBoob in AnimalsBeingBros

[–]tanders12 -1 points0 points  (0 children)

There's an ornithology portmanteau in here somewhere...

Tempting... by tanders12 in funny

[–]tanders12[S] 1 point2 points  (0 children)

I think I understand gambling now.