|about 1 month ago||1 day ago|
|Mozilla Public License 2.0||GNU General Public License v3.0 or later|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Is the documentation for making non-go plugins in the go-plugin repo outdated?
4 projects | reddit.com/r/hashicorp | 13 Sep 2022
can you try older go-plugin versions? The only major change in v1.4.4 was a bugfix for automtls. https://github.com/hashicorp/go-plugin/blob/master/CHANGELOG.md
Go and plugins ?
4 projects | reddit.com/r/golang | 18 Jun 2022
I strongly recommend to use Hashicorp/Plugin, that is more battle tested and could be extended and used by others languages.
DLL Architecture in Go
3 projects | reddit.com/r/golang | 25 Jan 2022
Doesn't sound too crazy to me. Maybe worth checking out https://github.com/hashicorp/go-plugin -- they came up with something similar for dealing with extensions/plugins.
Code review: Api Gateway
3 projects | reddit.com/r/golang | 27 Dec 2021
For our use cases the most attractive to us were gateways that were available as a library. Having programmatic access gave us the freedom to do whatever we wanted. If it gave us low level control over the http response the better. For example, we would want to respond with 401 for malformed tokens and reserve 403 as more of a"banned" status. That would cause us to rule out your api gateway. An alternative could be offering your gateway as a library or using a plugable module system like hasicorps plugin system.
py4go: Bidirectional embedding of Python in Go
4 projects | reddit.com/r/golang | 24 Dec 2021
If you really don't want to use cgo, you could use the grpc solution developed by hashicorp: https://github.com/hashicorp/go-plugin
What are the options of distributing a closed-source library in Rust?
6 projects | reddit.com/r/rust | 8 Nov 2021
Alternatively, you can go hashicorp path: https://github.com/hashicorp/go-plugin . I know thats not what you asked, but it is a way to let people use rust and maintain closed source. (each plugin is a process that communicate to parent via some form of RPC)
Why go plugin addresses do not load with go binary
3 projects | reddit.com/r/golang | 31 Oct 2021
It's a far better option to spawn sub processes as plugins. hashicorp has built a library for that.
Providing plugins or a plugin ecosystem a la wordpress
2 projects | reddit.com/r/golang | 25 Oct 2021
have you determined that RPC plugin solutions (á la https://github.com/hashicorp/go-plugin) are too slow?
Golang Inter-Process Communication Example
2 projects | reddit.com/r/golang | 21 Apr 2021
Another Go IPC mechanism I've seen is gRPC over unix domain sockets, which is often used with "plug-in" mechanisms (such as terraform: https://github.com/hashicorp/go-plugin). That gives a higher-level interface than reading/writing raw bytes on a socket.
Cross-language "plugin" option landscape
2 projects | reddit.com/r/golang | 6 Mar 2021
GRPC-based plugin system, ie github.com/hashicorp/go-plugin
Linus Torvalds: Rust will go into Linux 6.1
12 projects | reddit.com/r/programming | 26 Sep 2022
Actual serious answer: https://www.rust-lang.org/ It’s a systems programming language that focuses on correctness and safety.12 projects | reddit.com/r/programming | 26 Sep 2022
Due to break statements allowing arbitrary expressions, this is valid:
2 projects | reddit.com/r/rust | 26 Sep 2022
There is even file filled with weird expressions in rustc's tests: https://github.com/rust-lang/rust/blob/master/src/test/ui/weird-exprs.rs
Faster and colourful Command-Line tools 🌈⚡
13 projects | dev.to | 25 Sep 2022
Rust is a programming language I want to get involved with. I came up with the idea of integrating some Command Line tools written in Rust in my day-to-day could be an excellent opportunity to get in touch with them as a user and, from there, maybe get involved in opening a new issue or drafting a Pull Request. Why not!
Why are Rust programs slow to compile?
4 projects | reddit.com/r/rust | 24 Sep 2022
I got curious about a few things, notably that MIR thing that seemed to be a work in progress... But when I checked, it seems that MIR has been in use for years already, unless I missed something out. So I'm not sure how outdated the reasons I found on the old website are. Do you know the reasons why Rust has slow compilation times today?
Do you avoid using certain language features?
2 projects | reddit.com/r/rust | 24 Sep 2022
It actually IS broken, and has been for 5.5 years. https://github.com/rust-lang/rust/issues/39364
The Road to 128 bit Linux
5 projects | news.ycombinator.com | 23 Sep 2022
The section about 128-bit pointers being necessary for expanded memory sizes is unconvincing -- 64 bits provides 16 EiB (16 x 1024 x 1024 x 1 GiB), which is the sort of address space you might need for byte-level addressing of a warehouse full of high-density HDDs. Memory sizes don't grow like they used to, and it's difficult to imagine what kind of new physics would let someone fit that many bytes into a machine that's practical to control with a single Linux kernel instance.
CHERI is a much more interesting case, because it expands the definition of what a "pointer" is. Most low-level programmers think of pointers as just an address, but CHERI turns it into a sort of tuple of (address, bounds, permissions) -- every pointer is bounds-checked. The CHERI folks did some cleverness to pack that all into 128 bits, and I believe their demo platform uses 128-bit registers.
The article also touches on the UNIX-y assumption that `long` is pointer-sized. This is well known (and well hated) by anyone that has to port software from UNIX to Windows, where `long` and `int` are the same size, and `long long` is pointer-sized. I'm firmly in the camp of using fixed-size integers but the Linux kernel uses `long` all over the place, and unless they plan to do a mass migration to `intptr_t` it's difficult to imagine a solution that would let the same C code support 32-, 64-, and 128-bit platforms.
(comedy option: 32-bit int, 128-bit long, and 64-bit `unsigned middle`)
The article also mentions Rust types as helpful, but Rust has its own problems with big pointers because they inadvisably merged `size_t`, `ptrdiff_t`, and `intptr_t` into the same type. They're working on adding equivalent symbols to the FFI module, but untangling `usize` might not be possible at this point.
Traditional Packaging Is Not Suitable for Modern Applications
3 projects | news.ycombinator.com | 22 Sep 2022
Rust 2024...the year of everywhere? by Niko
3 projects | reddit.com/r/rust | 22 Sep 2022
I am a bit confused, I have been using the async_closures feature for a while now and it has been working as expected so far. It's only on nightly though AFAIK. Is that what you mean that we don't have it?3 projects | reddit.com/r/rust | 22 Sep 2022
I assume you mean this feature? It is on track to stabilization. In fact, it was expected to be stabilized in 1.64, but a major bug caused the stabilization to be reverted.
What are some alternatives?
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Elixir - Elixir is a dynamic, functional language designed for building scalable and maintainable applications
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
Odin - Odin Programming Language
scala - Scala 2 compiler and standard library. For bugs, see scala/bug
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.
wasmer - 🚀 The leading WebAssembly Runtime supporting WASI and Emscripten
go - The Go programming language
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python
Rustup - The Rust toolchain installer