home.social

#pavex — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pavex, aggregated by home.social.

  1. ➡️ What you want:
    Reduce complexity for #RustLang backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks #Pavex… 😐

    Rustaceans, just use #Axum 😉

  2. ➡️ What you want:
    Reduce complexity for backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks … 😐

    Rustaceans, just use 😉

  3. ➡️ What you want:
    Reduce complexity for #RustLang backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks #Pavex… 😐

    Rustaceans, just use #Axum 😉

  4. ➡️ What you want:
    Reduce complexity for #RustLang backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks #Pavex… 😐

    Rustaceans, just use #Axum 😉

  5. ➡️ What you want:
    Reduce complexity for #RustLang backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks #Pavex… 😐

    Rustaceans, just use #Axum 😉

  6. New year, old habits: a monthly report on my work on Pavex.
    Or, to be sincere, a small essay on what I think good documentation looks like.
    lpalmieri.com/posts/this-month

    #rust #pavex

  7. New year, old habits: a monthly report on my work on Pavex.
    Or, to be sincere, a small essay on what I think good documentation looks like.
    lpalmieri.com/posts/this-month

    #rust #pavex

  8. New year, old habits: a monthly report on my work on Pavex.
    Or, to be sincere, a small essay on what I think good documentation looks like.
    lpalmieri.com/posts/this-month

  9. New year, old habits: a monthly report on my work on Pavex.
    Or, to be sincere, a small essay on what I think good documentation looks like.
    lpalmieri.com/posts/this-month

    #rust #pavex

  10. New year, old habits: a monthly report on my work on Pavex.
    Or, to be sincere, a small essay on what I think good documentation looks like.
    lpalmieri.com/posts/this-month

    #rust #pavex

  11. I'm done with last-minute API changes—Pavex is now code-complete (and doc-complete) for the beta 🔥

    Invites to the first batch of beta testers should go out tomorrow 📆

    #rust #pavex

  12. I'm done with last-minute API changes—Pavex is now code-complete (and doc-complete) for the beta 🔥

    Invites to the first batch of beta testers should go out tomorrow 📆

    #rust #pavex

  13. I'm done with last-minute API changes—Pavex is now code-complete (and doc-complete) for the beta 🔥

    Invites to the first batch of beta testers should go out tomorrow 📆

  14. I'm done with last-minute API changes—Pavex is now code-complete (and doc-complete) for the beta 🔥

    Invites to the first batch of beta testers should go out tomorrow 📆

    #rust #pavex

  15. I'm done with last-minute API changes—Pavex is now code-complete (and doc-complete) for the beta 🔥

    Invites to the first batch of beta testers should go out tomorrow 📆

    #rust #pavex

  16. Quickstart tutorial for Pavex ✅

    Next on the checklist: adding links to the relevant items in the API reference as well as linting to make sure that examples don't go stale.

    #rustlang #pavex

  17. Quickstart tutorial for Pavex ✅

    Next on the checklist: adding links to the relevant items in the API reference as well as linting to make sure that examples don't go stale.

    #rustlang #pavex

  18. Quickstart tutorial for Pavex ✅

    Next on the checklist: adding links to the relevant items in the API reference as well as linting to make sure that examples don't go stale.

  19. Quickstart tutorial for Pavex ✅

    Next on the checklist: adding links to the relevant items in the API reference as well as linting to make sure that examples don't go stale.

    #rustlang #pavex

  20. Quickstart tutorial for Pavex ✅

    Next on the checklist: adding links to the relevant items in the API reference as well as linting to make sure that examples don't go stale.

    #rustlang #pavex

  21. Je n'ai pas de projet web en vue, mais si à l'avenir je devais en avoir un, vu que d'ici là ça aura eu le temps d'avancer, à coup sûr le framework #Pavex fera partie des candidats potentiels.

    lpalmieri.com/posts/pavex-prog

    Si vous ne voyez pas de quoi il s'agit : lpalmieri.com/posts/a-taste-of

    #RustLang

  22. Je n'ai pas de projet web en vue, mais si à l'avenir je devais en avoir un, vu que d'ici là ça aura eu le temps d'avancer, à coup sûr le framework #Pavex fera partie des candidats potentiels.

    lpalmieri.com/posts/pavex-prog

    Si vous ne voyez pas de quoi il s'agit : lpalmieri.com/posts/a-taste-of

    #RustLang

  23. Borrow checking was one of my nightmares for #pavex.

    The framework must generate _valid_ #rust code, which implies that pavex itself needs to be aware of the borrow checker.

    After a few days of head scratching, it's working!
    There are a few edge cases left, but the core works 🚀

  24. Borrow checking was one of my nightmares for #pavex.

    The framework must generate _valid_ #rust code, which implies that pavex itself needs to be aware of the borrow checker.

    After a few days of head scratching, it's working!
    There are a few edge cases left, but the core works 🚀

  25. Borrow checking was one of my nightmares for .

    The framework must generate _valid_ code, which implies that pavex itself needs to be aware of the borrow checker.

    After a few days of head scratching, it's working!
    There are a few edge cases left, but the core works 🚀

  26. Borrow checking was one of my nightmares for #pavex.

    The framework must generate _valid_ #rust code, which implies that pavex itself needs to be aware of the borrow checker.

    After a few days of head scratching, it's working!
    There are a few edge cases left, but the core works 🚀

  27. Borrow checking was one of my nightmares for #pavex.

    The framework must generate _valid_ #rust code, which implies that pavex itself needs to be aware of the borrow checker.

    After a few days of head scratching, it's working!
    There are a few edge cases left, but the core works 🚀

  28. This is related to #pavex—I need to build the packages in the current workspace in a specific order, making sure to execute the code generation step _before_ trying to compile the generated code or any other crate that depends on it.

    I could introduce a `cargo` subcommand (e.g. `cargo pavex build`), but it'd be cool to make it transparent.

  29. This is related to #pavex—I need to build the packages in the current workspace in a specific order, making sure to execute the code generation step _before_ trying to compile the generated code or any other crate that depends on it.

    I could introduce a `cargo` subcommand (e.g. `cargo pavex build`), but it'd be cool to make it transparent.

  30. This is related to —I need to build the packages in the current workspace in a specific order, making sure to execute the code generation step _before_ trying to compile the generated code or any other crate that depends on it.

    I could introduce a `cargo` subcommand (e.g. `cargo pavex build`), but it'd be cool to make it transparent.

  31. This is related to #pavex—I need to build the packages in the current workspace in a specific order, making sure to execute the code generation step _before_ trying to compile the generated code or any other crate that depends on it.

    I could introduce a `cargo` subcommand (e.g. `cargo pavex build`), but it'd be cool to make it transparent.

  32. This is related to #pavex—I need to build the packages in the current workspace in a specific order, making sure to execute the code generation step _before_ trying to compile the generated code or any other crate that depends on it.

    I could introduce a `cargo` subcommand (e.g. `cargo pavex build`), but it'd be cool to make it transparent.

  33. It looks like the next step for #pavex is becoming more aware of the borrow checker.

    In particular:

    1. emit code that passes the borrow checker where possible;
    2. emit errors when it's impossible;
    3. provide a "clone where needed" strategy for when you don't care.

    A bit scared of tackling 1. and 2., it could be a significant time sink.

  34. It looks like the next step for #pavex is becoming more aware of the borrow checker.

    In particular:

    1. emit code that passes the borrow checker where possible;
    2. emit errors when it's impossible;
    3. provide a "clone where needed" strategy for when you don't care.

    A bit scared of tackling 1. and 2., it could be a significant time sink.

  35. It looks like the next step for is becoming more aware of the borrow checker.

    In particular:

    1. emit code that passes the borrow checker where possible;
    2. emit errors when it's impossible;
    3. provide a "clone where needed" strategy for when you don't care.

    A bit scared of tackling 1. and 2., it could be a significant time sink.

  36. It looks like the next step for #pavex is becoming more aware of the borrow checker.

    In particular:

    1. emit code that passes the borrow checker where possible;
    2. emit errors when it's impossible;
    3. provide a "clone where needed" strategy for when you don't care.

    A bit scared of tackling 1. and 2., it could be a significant time sink.

  37. It looks like the next step for #pavex is becoming more aware of the borrow checker.

    In particular:

    1. emit code that passes the borrow checker where possible;
    2. emit errors when it's impossible;
    3. provide a "clone where needed" strategy for when you don't care.

    A bit scared of tackling 1. and 2., it could be a significant time sink.

  38. The API for nesting in #pavex
    is now more or less settled.
    What's left? Dealing with all the ambiguous situations that arise!

    An example:
    - the top-level blueprint defines a constructor for a singleton type, u64.
    - the nested blueprint overwrites it.

    What should happen?

    This is ambiguous!
    The nested route expects a certain constructor to be used.
    The parent route expects another one to be used.

    But the type is supposed to be a singleton, we can't create it twice!

    #rust

  39. The API for nesting in #pavex
    is now more or less settled.
    What's left? Dealing with all the ambiguous situations that arise!

    An example:
    - the top-level blueprint defines a constructor for a singleton type, u64.
    - the nested blueprint overwrites it.

    What should happen?

    This is ambiguous!
    The nested route expects a certain constructor to be used.
    The parent route expects another one to be used.

    But the type is supposed to be a singleton, we can't create it twice!

    #rust

  40. The API for nesting in
    is now more or less settled.
    What's left? Dealing with all the ambiguous situations that arise!

    An example:
    - the top-level blueprint defines a constructor for a singleton type, u64.
    - the nested blueprint overwrites it.

    What should happen?

    This is ambiguous!
    The nested route expects a certain constructor to be used.
    The parent route expects another one to be used.

    But the type is supposed to be a singleton, we can't create it twice!

  41. The API for nesting in #pavex
    is now more or less settled.
    What's left? Dealing with all the ambiguous situations that arise!

    An example:
    - the top-level blueprint defines a constructor for a singleton type, u64.
    - the nested blueprint overwrites it.

    What should happen?

    This is ambiguous!
    The nested route expects a certain constructor to be used.
    The parent route expects another one to be used.

    But the type is supposed to be a singleton, we can't create it twice!

    #rust

  42. The API for nesting in #pavex
    is now more or less settled.
    What's left? Dealing with all the ambiguous situations that arise!

    An example:
    - the top-level blueprint defines a constructor for a singleton type, u64.
    - the nested blueprint overwrites it.

    What should happen?

    This is ambiguous!
    The nested route expects a certain constructor to be used.
    The parent route expects another one to be used.

    But the type is supposed to be a singleton, we can't create it twice!

    #rust

  43. #pavex can now detect at **compile-time** if you are trying to extract a parameter that doesn't exist in the route template!

    It's taking a lot of work, but our router is shaping up to be incredibly robust and I'm thrilled about it.

  44. #pavex can now detect at **compile-time** if you are trying to extract a parameter that doesn't exist in the route template!

    It's taking a lot of work, but our router is shaping up to be incredibly robust and I'm thrilled about it.

  45. can now detect at **compile-time** if you are trying to extract a parameter that doesn't exist in the route template!

    It's taking a lot of work, but our router is shaping up to be incredibly robust and I'm thrilled about it.

  46. #pavex can now detect at **compile-time** if you are trying to extract a parameter that doesn't exist in the route template!

    It's taking a lot of work, but our router is shaping up to be incredibly robust and I'm thrilled about it.

  47. #pavex can now detect at **compile-time** if you are trying to extract a parameter that doesn't exist in the route template!

    It's taking a lot of work, but our router is shaping up to be incredibly robust and I'm thrilled about it.

  48. Thanks for #zero2production, for exploring the design space with #pavex, and especially for your focus on helpful, elegant error handling. @algo_luca

    Thank you @zkat for #miette, it makes me happy to look at its error reports.

  49. Thanks for #zero2production, for exploring the design space with #pavex, and especially for your focus on helpful, elegant error handling. @algo_luca

    Thank you @zkat for #miette, it makes me happy to look at its error reports.

  50. Thanks for , for exploring the design space with , and especially for your focus on helpful, elegant error handling. @algo_luca

    Thank you @zkat for , it makes me happy to look at its error reports.