|
|
Subscribe / Log in / New account

Recently posted comments

Examining exFAT

Posted Aug 30, 2019 19:11 UTC (Fri) by flussence (guest, #85566)
Parent article: Examining exFAT

What their ad campaign says: “Microsoft ♥ Linux”
What they really mean: “Microsoft has temporarily stopped beating their spouse in public. Smile for the cameras, or else.”

They can contribute to Samsung's existing implementation if they're serious about Linux.


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 19:08 UTC (Fri) by mathstuf (subscriber, #69389)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by Archimedes
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

> cargo as build system is "nice and simple" and can handle a lot but falls short if complex builds are needed which can be done in C using the automake/autoconf, cmake, ... hell ...

What, really, do you need from a more complex build system? The majority of CMake's complexity comes from compiler and linker inconsistencies. Generated sources have solutions in Rust. Platform introspection can be done at the same time (and generate code for inclusion). Preprocessing to handle some intermediate language is fine too. I guess I'm missing what kinds of complexities are actually required that aren't possible with stock cargo.

One thing I know of is linker stuff (manifest files on Windows, custom ELF sections, library ID management on macOS, rpath/runpath shenanigans, linker scripts, packaging metadata, etc.). But, most of this can also be done as post-processing steps on the resulting artifacts anyways, so I don't think that is a fundamental lack in cargo itself.


Examining exFAT

Posted Aug 30, 2019 19:06 UTC (Fri) by clugstj (subscriber, #4020)
Parent article: Examining exFAT

Where does Microsoft actually say that it won't use the patent system to attack Linux exFAT users?


Examining exFAT

Posted Aug 30, 2019 19:05 UTC (Fri) by shasta (subscriber, #79915)
Parent article: Examining exFAT

> Most people, it seemed, had simply forgotten about exFAT, which has a relatively limited deployment overall.

That "relatively limited deployment" includes all photographers/videographers working with SD cards bigger than 32GB...


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 19:05 UTC (Fri) by mathstuf (subscriber, #69389)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by nicoonoclaste
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

> Rust has supported dynamic linking for as long as I can recall?
> It's simply not the default.

Well, it does, but you can only really use it for C ABI boundaries. A shared Rust library would also likely need recompiled/linked for updates due to a lack of ABI stability (in the sense of "updating the compiler can change this") of Rust calls and structure layouts.


Microsoft to put exFAT support into the kernel

Posted Aug 30, 2019 17:56 UTC (Fri) by brouhaha (subscriber, #1698)
In reply to: Microsoft to put exFAT support into the kernel by jem
Parent article: Microsoft to put exFAT support into the kernel

More choice is definitely good, but in my experience USB external hard drives come formatted with NTFS, and the vast majority of end users never change that, even if their computer is running Linux.

Now that the exFAT specification is publicly available, I'd prefer using exFAT on external USB hard drives over NTFS, which is still closed (even though there are implementations for Linux).

I've never tried UDF on flash media or hard disks. How well is read/write access to UDF 2.5 or 2.6 filesystems supported by Linux, Windows 10, and MacOS? Is the Linux implementation robust? Does it transparently (through FS metadata) deal with using larger blocks than 512 bytes in order to support >2TB file system? I've seen some criticism of writeable UDF for not tolerating or recovering from forced unmounts (user disconnects or powers off drive) as well as NTFS and exFAT, but I don't know how accurate that is.


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 16:04 UTC (Fri) by moltonel (guest, #45207)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by mirabilos
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

You seem to be using a strange definition of the word "most". All the platforms you mentioned are museum pieces by now, they are toys for hardware enthusiasts. If those enthusiast want to port a modern compiler to such old hardware, that's cool and fun and great. But it doesn't belong in the mainline.


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 15:36 UTC (Fri) by josh (subscriber, #17465)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by lzh
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

> 2. Many C language features have no corresponding Rust support. For example, it seems like impossible to construct a struct with bitfields.

That's one of the items on the FFI working group's list to work on.


Change IDs for kernel patches

Posted Aug 30, 2019 15:26 UTC (Fri) by jgg (subscriber, #55211)
In reply to: Change IDs for kernel patches by rgb
Parent article: Change IDs for kernel patches

I think my general complaint is that the built in git tooling for sending to a mailing list does not do nearly enough porcelain stuff to make the patch submission flow easy. I'm always sad when using git send email.

But there is some much potential here! Surely someone must have written nice wrapper scripts..


Ovid: Is Perl 6 Being Renamed?

Posted Aug 30, 2019 14:47 UTC (Fri) by epa (subscriber, #39769)
In reply to: Ovid: Is Perl 6 Being Renamed? by juliank
Parent article: Ovid: Is Perl 6 Being Renamed?

It's not a bad suggestion, since the relationship between Perl 5 and Perl 6 is akin to that between classic Mac OS and Mac OS X.


Ovid: Is Perl 6 Being Renamed?

Posted Aug 30, 2019 14:31 UTC (Fri) by teknohog (guest, #70891)
In reply to: Ovid: Is Perl 6 Being Renamed? by mattdm
Parent article: Ovid: Is Perl 6 Being Renamed?

Also, Finnish "raakku" means freshwater pearl mussel.


Change IDs for kernel patches

Posted Aug 30, 2019 13:31 UTC (Fri) by rgb (subscriber, #57129)
Parent article: Change IDs for kernel patches

"Greg Kroah-Hartman described it as overly complex, though, and suggested simply posting patches as a reply to previous versions, but others pointed out that not all mailers would make that entirely easy to do."

I agree with Greg. That's what reply is there for, to provide context. Also reply is such a basic functionality I'm really curious what kind of mail program does not support reply?

I doubt that anyone can come up with an alternative to reply, that is as easy to use and adopt by most/all developers.


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 13:04 UTC (Fri) by mirabilos (subscriber, #84359)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by roc
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

No. Support belongs in-tree, and if a toolchain is not going to even try to support most platforms, it’s clearly suitable only as a toy, not as a replacement for something well-established.

Support for anything MUST be in-tree so it benefits from whole-tree changes automatically, shows up when a developer greps for “does anything use this function?”, etc.


Change IDs for kernel patches

Posted Aug 30, 2019 13:02 UTC (Fri) by mathstuf (subscriber, #69389)
Parent article: Change IDs for kernel patches

Hmm. How hard would it be to ask that subsequent submissions use `--in-reply-to=` the previous patchset (usually its cover letter)? That's what I do on my (admittedly rare) submissions. It keeps the patchsets together in mail viewers and provides context for the previous submission(s).


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 12:53 UTC (Fri) by lzh (guest, #134122)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by josh
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

In my simple and exprimental project (https://github.com/lizhuohua/linux-kernel-module-rust), I implemented a simple driver for the Ethernet controller used on raspberry pi 3, based on Geofft's amazing project (https://github.com/fishinabarrel/linux-kernel-module-rust). And I found that the performance impact is actually negligible. However, I found the following problems:

1. Linux kernel doesn't guarantee API/ABI stability, so it's hard to design a universal Rust interface. At least it is almost impossible to make it work on all versions of Linux.
2. Many C language features have no corresponding Rust support. For example, it seems like impossible to construct a struct with bitfields.
But yes, I believe Rust is a promising language for kernel programming. Let's join forces to make this happen!


Ovid: Is Perl 6 Being Renamed?

Posted Aug 30, 2019 12:33 UTC (Fri) by einar (guest, #98134)
In reply to: Ovid: Is Perl 6 Being Renamed? by Deleted user 129183
Parent article: Ovid: Is Perl 6 Being Renamed?

> Raku? Ew, it makes it sound like it is some weird weeb thing.

I don't see anything bad in a word that's used in the context of "easily" or "comfortably". But again, the bikeshed color must always be blue!


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 12:22 UTC (Fri) by pizza (subscriber, #46)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by pizza
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

> Even the most pathological F/OSS project is lightyears beyond the depressing suckage in the proprietary world.

I wrote this, then I remembered Apache OpenOffice, which transcends to Dilbert-esque levels of suckage.


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 12:10 UTC (Fri) by pizza (subscriber, #46)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by james
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

"helping" or "forking" only applies when upstream allows you to have (and do something with) the source code.

Even the most pathological F/OSS project is lightyears beyond the depressing suckage in the proprietary world.


Change IDs for kernel patches

Posted Aug 30, 2019 12:01 UTC (Fri) by johill (subscriber, #25196)
In reply to: Change IDs for kernel patches by wiktor
Parent article: Change IDs for kernel patches

And we use that, with some commit log mangling, to create the Link: in most cases.


Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 30, 2019 11:58 UTC (Fri) by pizza (subscriber, #46)
In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by moltonel
Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

For a given application, sure, the _technical_ effort to keep your bundled Rust dependencies (naively) updated is lower than with a "classic" C project. (Putting aside the fact that it takes extra effort to bundle C libraries to begin with, so in a very true sense one has to opt into having this dependency tracking/updating problem)

None of that has any bearing on pathologic development/business processes that treat post-release maintenance as a four-letter word, nor does it help anyone who doesn't have access to complete corresponding source code to everything.



Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds