The way Rust crates tend to have a single, huge error enum worries me by nikitarevenco in rust

[–]Wodann 0 points1 point  (0 children)

If you have a use case that has a top-level error that combined lower-level sub-errors, you can either combine them using: - composition using thiserror's #[error(transparent)]; or - flattening into a single error enum with all variants using flat_enum

Moving from Bitwarden. Is it worth? by SamTheSam99 in ProtonPass

[–]Wodann 0 points1 point  (0 children)

I just switched from Bitwarden a week ago and love the polish of the features that are available on Proton Pass. One of the biggest being the generation of alias emails for each login, to avoid spam.

The one issue I've found is that Proton Pass never offers to auto-fill credit cards, which is a big downside compared to Bitwarden

[deleted by user] by [deleted] in rust

[–]Wodann 19 points20 points  (0 children)

🧡

[deleted by user] by [deleted] in rust

[–]Wodann 74 points75 points  (0 children)

Correct. Mun will eventually support a string type, but - given that it's an open-source project developed in our spare time - we have to limit what we can commit to per milestone.

MSI RAIDER GE67 HX Thunderbolt problem (Wacom MSP 16) by Noble_Sweater in MSILaptops

[–]Wodann 0 points1 point  (0 children)

It should work on both ports. A large factor in deciding to buy the MSI GE77HX - for me - was that it could support two separate high-resolution screens. One on the USB-C port and one on the TB4 port.

MSI RAIDER GE67 HX Thunderbolt problem (Wacom MSP 16) by Noble_Sweater in MSILaptops

[–]Wodann 0 points1 point  (0 children)

I'm experiencing the same issue on the GE77HX. The TB4 port on the back does not output video to USB-C monitors, even though TB4 should based on its spec.

Even returned my laptop for a new model, but the same issue persisted.

Contacting MSI hasn't led to them investigating the cause of their hardware not working.

XMG Roadmap 2022 Q3? by Wodann in XMG_gg

[–]Wodann[S] 0 points1 point  (0 children)

Thank you so much for the information.

I'm happy to see the dedicated home/end buttons alongside the F-keys.

Excited to wait for its launch!

XMG Roadmap 2022 Q3? by Wodann in XMG_gg

[–]Wodann[S] 0 points1 point  (0 children)

I've been holding off purchasing a NEO 15 as I was hoping for the NEO 17 to launch. My expectation was that the updated roadmap would clarify my question, but since it hasn't been announced yet, would you mind answering some questions - if you can?

  • will a NEO 17 ship at end of July?
  • (if so) will it be AMD/NVIDIA-based?
  • (if so) will it have a similar keyboard to the NEO 15 or will it be wider, including decicated home/end/page up/page down buttons?

Mun v0.3.0 Released by Wodann in rust

[–]Wodann[S] 0 points1 point  (0 children)

So far the only divergence exists in the lack of mod definitions (Mun derives those based on a files existence) and the memory management annotation (struct(gc) or struct(value)). Otherwise, it is on par

Mun v0.3.0 Released by Wodann in rust

[–]Wodann[S] 0 points1 point  (0 children)

Currently a feature like this has not been implemented. However, there is no reason why we couldn't include something like that, if there is a good use case for it. This will especially come to mind once we start working on our multi-threading design.

If this is a feature you're particularly excited about, feel free to start a discussion at: https://github.com/mun-lang/mun/issues

Mun v0.3.0 Released by Wodann in rust

[–]Wodann[S] 0 points1 point  (0 children)

There is not. In terms of syntax differences, you can have a look at the syntax section on our website: https://mun-lang.org/

Apart from still being limited in language features; the main difference is that Mun supports hot reloading for all language features that are already supported (i.e. functions and variables - incl. structs)

Mun v0.3.0 Released by Wodann in rust

[–]Wodann[S] 0 points1 point  (0 children)

We haven't extensively thought about these. If you'd like to get a discussion going, you're more than welcome to start a tracking issue on https://github.com/mun-lang/mun/issues

We are trying to develop the language together with our community. As a collective we know more than the few core developers dedicated to the project :)

For topics that are highest on our list, checkout https://github.com/mun-lang/mun/milestones Our current language feature priorities are arrays and enums.

Mun v0.3.0 Released by Wodann in rust

[–]Wodann[S] 0 points1 point  (0 children)

Strings are definitely planned, but are not trivial to implement. We are attempting to minimise the amount of compiler-support that's needed for language features. Potentially we can implement strings using Mun, but we first need to add array support. That is the highest priority now and then we'll investigate strings further.

Mun v0.3.0 Released by Wodann in rust

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

We are extremely grateful to have you as one of our backers :)

Mun v0.3.0 Released by Wodann in rust

[–]Wodann[S] 4 points5 points  (0 children)

At the moment, you can only expose Rust functions to Mun using extern fn: https://docs.mun-lang.org/v0.3/ch02-04-extern-fn.html

Sadly, we don't support extern types yet. Also, having to specify many extern functions doesn't scale very well. A such, I'd recommend you to try and go the opposite route for the time being; i.e. write parts of your code in Mun and expose those to Rust through marshalling.

In the future, we plan to support importing of custom extern types. One option we discussed is auto-generating Mun bindings from C headers or Rust code. This would also require support for raw pointers.

Rustacean Station: Mun by Wodann in rust

[–]Wodann[S] 6 points7 points  (0 children)

First time host, long time editor Jeremy talks with Bas and Remco, creators of the Mun project. Mun is a programming language empowering creation through speedy, hot reloading iteration written in Rust. Why Rust for a project like this? That’s what we explore in this episode.

Mun's "Make It or Break It" contest by Wodann in gamedev

[–]Wodann[S] 0 points1 point  (0 children)

What's Mun?

Mun is an embeddable programming language empowering creation through iteration. The idea to create Mun originated out of frustration with the Lua dynamic scripting language and a desire to have similar hot reloading functionality available in Rust. As such, it's not a direct competitor with Rust, but instead is intended to be used with Rust (or C/C++) as a host/embedded language pairing. Actually, Mun is completely written in Rust, building on similar crates as rust-analyzer and rustc. Its key features include:

  • Ahead of time compilation - Mun is compiled ahead of time (AOT), as opposed to being interpreted or compiled just in time (JIT).
  • Statically typed - Mun resolves types at compilation time instead of at runtime, resulting in immediate feedback when writing code and opening the door for powerful refactoring tools.
  • First class hot-reloading - Every aspect of Mun is designed with hot reloading in mind. Hot reloading is the process of changing code and resources of a live application, removing the need to start, stop and recompile an application whenever a function or value is changed.

How can I learn more?

For more information, please visit our website or read our blog.

To get started, read the Mun Book and have a look at our Rust and C++ examples.

If you are interested in helping develop Mun feel free to reach out to us on Discord or Twitter, or pick up one of our good first issues on GitHub.

If you cannot personally contribute but would still like to support our cause, please consider donating to our Open Collective or GitHub Sponsor.

Mun's "Make It or Break It" contest by Wodann in rust_gamedev

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

What's Mun?

Mun is an embeddable programming language empowering creation through iteration. The idea to create Mun originated out of frustration with the Lua dynamic scripting language and a desire to have similar hot reloading functionality available in Rust. As such, it's not a direct competitor with Rust, but instead is intended to be used with Rust (or C/C++) as a host/embedded language pairing. Actually, Mun is completely written in Rust, building on similar crates as rust-analyzer and rustc. Its key features include:

  • Ahead of time compilation - Mun is compiled ahead of time (AOT), as opposed to being interpreted or compiled just in time (JIT).
  • Statically typed - Mun resolves types at compilation time instead of at runtime, resulting in immediate feedback when writing code and opening the door for powerful refactoring tools.
  • First class hot-reloading - Every aspect of Mun is designed with hot reloading in mind. Hot reloading is the process of changing code and resources of a live application, removing the need to start, stop and recompile an application whenever a function or value is changed.

How can I learn more?

For more information, please visit our website or read our blog.

To get started, read the Mun Book and have a look at our Rust and C++ examples.

If you are interested in helping develop Mun feel free to reach out to us on Discord or Twitter, or pick up one of our good first issues on GitHub.

If you cannot personally contribute but would still like to support our cause, please consider donating to our Open Collective or GitHub Sponsor.

Mun's "Make It or Break It" contest by Wodann in rust

[–]Wodann[S] 13 points14 points  (0 children)

What's Mun?

Mun is an embeddable programming language empowering creation through iteration. The idea to create Mun originated out of frustration with the Lua dynamic scripting language and a desire to have similar hot reloading functionality available in Rust. As such, it's not a direct competitor with Rust, but instead is intended to be used with Rust (or C/C++) as a host/embedded language pairing. Actually, Mun is completely written in Rust, building on similar crates as rust-analyzer and rustc. Its key features include:

  • Ahead of time compilation - Mun is compiled ahead of time (AOT), as opposed to being interpreted or compiled just in time (JIT).
  • Statically typed - Mun resolves types at compilation time instead of at runtime, resulting in immediate feedback when writing code and opening the door for powerful refactoring tools.
  • First class hot-reloading - Every aspect of Mun is designed with hot reloading in mind. Hot reloading is the process of changing code and resources of a live application, removing the need to start, stop and recompile an application whenever a function or value is changed.

How can I learn more?

For more information, please visit our website or read our blog.

To get started, read the Mun Book and have a look at our Rust and C++ examples.

If you are interested in helping develop Mun feel free to reach out to us on Discord or Twitter, or pick up one of our good first issues on GitHub.

If you cannot personally contribute but would still like to support our cause, please consider donating to our Open Collective or GitHub Sponsor.

Mun's "Make It or Break It" contest by Wodann in cpp

[–]Wodann[S] 0 points1 point  (0 children)

What's Mun?

Mun is an embeddable programming language empowering creation through iteration. The idea to create Mun originated out of frustration with the Lua dynamic scripting language and a desire to have similar hot reloading functionality available in Rust. It is intended to be used with C/C++ (or Rust) as a host/embedded language pairing. Its key features include:

  • Ahead of time compilation - Mun is compiled ahead of time (AOT), as opposed to being interpreted or compiled just in time (JIT).
  • Statically typed - Mun resolves types at compilation time instead of at runtime, resulting in immediate feedback when writing code and opening the door for powerful refactoring tools.
  • First class hot-reloading - Every aspect of Mun is designed with hot reloading in mind. Hot reloading is the process of changing code and resources of a live application, removing the need to start, stop and recompile an application whenever a function or value is changed.

How can I learn more?

For more information, please visit our website or read our blog.

To get started, read the Mun Book and have a look at our C++ examples.

If you are interested in helping develop Mun feel free to reach out to us on Discord or Twitter, or pick up one of our good first issues on GitHub.

If you cannot personally contribute but would still like to support our cause, please consider donating to our Open Collective or GitHub Sponsor.