novu icon indicating copy to clipboard operation
novu copied to clipboard

Rust server SDK

Open kymppi opened this issue 2 years ago • 14 comments

What?

A Rust server SDK

Why?

Probably a lot of people will write their APIs in Rust or have already wrote.

How?

You could follow doc.rust-lang.org

Other information

Add any other context or screenshots about the feature request here.

kymppi avatar Jun 13 '22 11:06 kymppi

@kymppi this is actually a great idea, we can base the functionality and API on @novu/node and have another SDK for Rust.

Are you familiar with how you publish and create a library there?

scopsy avatar Jun 14 '22 09:06 scopsy

Ive been learning Rust for the last month or so, so i think I could do it :+1: And that link i sent has a section for publishing.

kymppi avatar Jun 14 '22 11:06 kymppi

Hey just wondering where i should store the source code, probably a new repo? Since it's rust and not javascript so it cant use the multirepo that well.

kymppi avatar Jun 22 '22 07:06 kymppi

Totally aggree, I think it's best to have a separate repo for this. Created https://github.com/novuhq/rust/ 🚀

scopsy avatar Jun 22 '22 08:06 scopsy

Hey, @kymppi Can we pair on the SDK for rust? I am also learning Rust and I am a TypeScript Developer maybe I can bring something to the table.

aggmoulik avatar Jun 27 '22 12:06 aggmoulik

Sure, wanna work on my fork? Then we can make a single PR

kymppi avatar Jun 27 '22 13:06 kymppi

This is what I am looking at. @kymppi @aggmoulik. Mind to share with me the github link. We might work together to turn the underground into rust as well. What do you think?

I had put a discussion over this section. Let discuss. 😃 https://github.com/novuhq/novu/discussions/1181

lawweiliang avatar Sep 02 '22 07:09 lawweiliang

Heyy, you can find the repo at https://github.com/novuhq/rust

kymppi avatar Sep 02 '22 07:09 kymppi

The beauty of Rust is it is a memory-safe and high-performance bottom layer(system) language. Adding a layer of Rust on top of NodeJs would not bring any beauty of Rust to the surface.

Hmm, but since the project had been started with node. Then, we follow yeah. 😄

lawweiliang avatar Sep 02 '22 07:09 lawweiliang

Yea, rust doesnt bring any performance, this is just an sdk for the rust server applications

kymppi avatar Sep 02 '22 07:09 kymppi

Any performance in this case*

kymppi avatar Sep 02 '22 07:09 kymppi

Alright, noted. Thanks @kymppi.

lawweiliang avatar Sep 02 '22 08:09 lawweiliang

Yea, i see i didnt mention it in the issue :D

kymppi avatar Sep 02 '22 08:09 kymppi

@scopsy I think this issue can be closed now the repo is created.

Cliftonz avatar Sep 23 '22 14:09 Cliftonz