1,655 karma · joined Mar 24, 2014 (12y ago) · 1,715 submissions
comment 3y ago · link · parent
Do you really think it's fine and good for Google to take work explicitly intended by its authors to preserve free computing and work around the licensing to make money without preserving the intent and purpose of its license?
Shaming would be much stronger. I even pointed out that participating in it is totally elective and I personally would not in many cases.
Framing it in terms of your own cost/benefit is missing the point, though, and there is a meaningful and valuable purpose to it outside of maximizing your personal benefit in the moment of choosing a particular library.
comment 3y ago · link · parent
comment 3y ago · link · parent
The purpose of GPL and Free Software (which it has actually had resounding success in) is to develop a free commons which will stay free and not be exploited.
It's not for you to exploit to make a buck, and if that excludes your project, that's fine.
There are lots of things I would never consider free-licensing, but I think people badly miss the point of free software because they are stuck thinking only in terms of their own needs and personal benefit.
Again, if you don't want to use or contribute to free software, that is perfectly reasonable. But just bear in mind that the Linux kernel and GCC are incredibly valuable tools which are firmly in the commons and will remain free, and which you have benefited enormously from the use and free availability of.
comment 3y ago · link · parent
comment 3y ago · link · parent
For example:
https://www.lua.org/manual/5.4/manual.html#lua_pushfstring
and:
https://www.lua.org/manual/5.4/manual.html#lua_next
It’s also amazingly semantically simple and dynamic, almost like a Lisp; even though it doesn’t have classes, typelevel programming is pretty straightforward.
It also allows you to easily write and distribute native modules (as shared objects) without needing integration code.
It is also insanely portable.
comment 3y ago · link · parent
LuaJIT can also have unpredictable performance characteristics, if it matters.
comment 3y ago · link · parent
I also recognize that I am participating in said dynamic.
comment 3y ago · link · parent
I have started to believe we should think of open-source software as not so different, and sometimes even as less trustworthy in certain ways since we typically don’t sandbox it.
How many of your tools have telemetry? How many of your drivers do? How many download and execute stuff on the fly?
comment 3y ago · link · parent
comment 3y ago · link · parent
Then in your Python wrapper you can use the wrapper, but your users who care can provide the pool they’ve already created.
Bonus points if it’s an interface or trait that the user can adapt their own scheduler to, if they don’t use rayon. But, I can see how that could be tricky if the design of your library is tightly coupled with the threading solution.
One way to frame it is that thread creation is a significant side effect.
comment 3y ago · link · parent
I picked up a habit in Go package design which I now apply everywhere: one of my immediate first thoughts when evaluating a library is how it creates or uses threads.
When I see that a library wants to consume all of the available cores of my system, or uses an internal task scheduler or threading mechanism, I worry that it will compete for CPU time with the other processes, threads, etc. that my system and process are using.
On the other hand, I appreciate when a library exposes an interface for me to offer it threads or a scheduler, or even better if it offers primitives that I can use directly in my own threads or tasks.
Perhaps this is mainly a problem for high-concurrency servers and UIs, but it’s always one of my first thoughts, and Rust is an ecosystem which needs to support those usecases. Many threaded libraries, even otherwise very good ones, are not designed with this in mind and it is a problem.
comment 3y ago · link · parent