Hacker Newsnew | past | comments | ask | show | jobs | submit | ChrisSD's commentslogin

Do you have plans for handling C FFI without "unsafe"? Will it require some sort of extension module written in C/C++/Rust?

No direct plans. For the immediate future, only the runtime is allowed to call into C.

If this ever becomes a production thing, then I can worry about FFI, and I'll probably just follow what managed languages do here.


FWIW, I really like the way C# has approached this need... most usage is exposed via attribute declaration/declaration DllImport for P/Invoke. Contrasted with say JNI in Java or even the Go syntax. The only thing that might be a significant improvement would be an array/vector of lookup names for the library on the system given how specific versions are often tagged in Linux vs Windows.

It's ok to be strange. It's ok to be bizarre. Be free.

I do not understand the desire for everybody else in the world to act exactly like you. Variety is the spice of life.


People can be strange or bizarre if they want too but they have to understand it means some people won't like them, especially if their shtick is deliberately making people uncomfortable and being annoying.

> I do not understand the desire for everybody else in the world to act exactly like you. Variety is the spice of life.

I don't want people to act exactly like me. I greatly appreciate the existence of people different from me with differing points of view and differing nations with differing cultures. This doesn't mean I have to like one specific archetype that I feel acts obnoxiously.


Why do you feel uncomfortable? Why do you think anyone is trying to make you feel uncomfortable?

The author quite literally mentions that part of their motivation to do things is to make people want them to stop, not to mention the deliberate and conscious choice to write the article in lowercase.

It's also natural to be uncomfortable because of the various references to sexual fetishes throughout the article.


> to make people want them to stop

in the sense of "writing a brainfuck compiler in ed," not in making them so uncomfortable they beg for release. plus, "feminization" is not a fetish, at least in the sense of making rustc say "i love you;" that feels incredibly uncharitable.


You're being intentionally obtuse, you know what they meant when they wrote that and you're pretending not to.

i was being charitable, not obtuse. a great number of my closest friends are trans; no element of their experience as i observe it fetishizes the very concept of transition, and those who've spoken to me about it are quite opposed to the "pornification" (as opposed to even sexualization) of trans people (particularly women) by the community itself, and others. if you're at all curious, i thought [0] was pretty informative.

all that to say, trans people (or anyone) shouldn't need to qualify their position (or very lighthearted, energetic opinion piece) with some genericizing disclaimer as to their identity, intents, etc., on the very basis of their identity. live and let live (i.e. fuck off)

[0] https://tr4nbie.substack.com/p/cat-ears-skater-skirts-and-kn...


I don't see any references to "sexual fetishes" in the article.

That's impressive considering the article mentions "feminizing" things in big text the moment you load the page.

"feminizing" doesn't refer to a sexual fetish, it just means making something more feminine. Do you assume that something being feminine is automatically sexualized and fetishistic?

I knew you were going to say this.

"Feminizing" doesn't inherently refer to a sexual fetish but context matters. I invite you to examine the article more in depth, look at the chatroom conversations and then come to your own conclusion.


tbh i think you just hate trans people but you're afraid to say it directly

[flagged]


fuck off

No. I will continue noticing patterns.

It's beside the point of the article but...

> The hardware limitation is specifically TPM 2.0

Almost every even half decent CPU made in the last decade does have TPM 2.0, albeit for some strange reason OEMs used to ship with it disabled. You may be able to turn it on in the bios.


My 7700k, a top of the line CPU from 2017, doesn’t support Windows 11 even though it has TPM 2.0. I had to install using rufus.

For sure, there are other hardware requirements a 2017 CPU may fail.

This is a massive pet peeve of mine as well. As far as I'm aware there's not a single consumer CPU listed in the Windows 11 compatibility list that doesn't have builtin TPM2.0.

To be clear, Ubuntu did nothing. This is a third party implementation that Ubuntu decided to ship in their OS.

That study only says that most Americans think they interact with AI at least a few times a week (it doesn't say how or if it's intentional). And it also says the vast majority feel they have little or no control over whether AI is used in the lives.

For example, someone getting a google search result containing an AI response is technically interacting with AI but not necessarily making use of its response or even wanting to see it in the first place. Or perhaps someone suspects their insurance premiums were decided by AI (whether that's true or not). Or customer service that requires you go through a chat bot before you get real service.


Windows also has uuids. E.g.:

    \\.\Volume{3558506b-6ae4-11eb-8698-806e6f6e6963}\


Which can be trivially mapped to directories for aliasing. Just like Linux.

Windows NT and UNIX are much more similar than many people realize; Windows NT just has a giant pile of Dos/Win9x compatibility baked on top hiding how great the core kernel design actually is.

I think this article demonstrates that very well.


In the end, if you think about it, the Win32 subsystem running on top of NT OSes it's pretty much the same concept as Wine running on Unix. That's why Wine is not an emulator. And neither is XP emulating old Win32 stuff to run Win9x binaries.


Yeah, NTFS is quite capable. I mostly blame the Windows UI for being a bit too dumbed down and not advertising the capabilities well.


They're using slide rule users as a stand-in for serious mathematician as opposed to people who incidentally use mathematics. It makes some sense in historical context but becomes a bit anachronistic after the invention of electronic calculators.


^_^ sucks when you actually need to talk about emoji though :/


Stating the Unicode code points as U+1F4A9 or (D syntax) \U0001F4A9 is a reasonable workaround.


We discourage posts that aren't relevant in some way to D programming.

One of the reasons I enjoy HackerNews is dang's enlightened and sensible moderation policy.


I think OP meant cases like, "I need to process a string with this emoji in D" etc


Would you ever need to talk about a specific emoji?


¯\_(ツ)_/¯


Tbh, the rights and wrongs aside, I suspect "everyone" is complaining about it because it's the easiest thing to talk about. Much like how feature discussions tend towards bikeshedding.


That's an entirely different issue. The kb's of overhead for backtrace printing and the format machinery is fixed and does not grow with the binary size. All combined it wouldn't account for anywhere close to 1mb let alone 100's of mb.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: