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

Can’t offload everything into the compiler. It is already too slow.

Soon people will demand it just figures out what you are implementing and rewrites your whole codebase


> Can’t offload everything into the compiler. It is already too slow.

Speak for yourself. On embedded platforms I'd happily make my compiles twice as slow for 10% code size improvements.


> Soon people will demand it just figures out what you are implementing and rewrites your whole codebase

We have this now, it is indeed very slow lol. Gemini is pretty fast however.


Isn't that what people are using Claude for now?

I just learned the graphics api of vulkan, can’t imagine anything being less pleasant than vulkan


Yeah it's quite something. If anyone wants a preview, here's the triangle hello world in vulkan: https://gist.github.com/Overv/7ac07356037592a121225172d7d78f...

But then again, I've heard that it's this low level because its meant for engine developers.


Oh wow that's horrible.


Really? How low is this level actually? Because I remember my OpenGL class' professor did this in less than 50 lines.


Imagine writing GlCreateContext yourself, for starters, as has been done in the link I posted.


Facebook isn’t just a website. Like whatsapp isn’t just a messaging app and visa/mastercard aren’t just some of the credit card companies.


I see the comparison you're trying to draw, and I don't agree.

People use FB because other people use it. There's a lot more complexity, and algorithm fuled habits. But in the end, FB provides the service of communication and content recommendations. Using that attention, it can sell ads. Without that willingness to give attention, they can't sell ads. There are no significant hurdles to starting a social media site.

Credit card processors facilitate payments from one group to a different group. They aren't an endpoint, they are middle men. They don't need to court the attention of users, they are in a position of power it where they can interfere with the lives of others, and have formed a coalition with a total monopoly over the digital trade of money. Good luck starting a competitor while attempting to shun PCI compliance.

If I never use FB, I can still interact with friends, family, buy and sell ads. If I never use a credit card... I've been cut off from the vast majority of the things that I would buy.

It's reasonable for different rules to apply to groups with vastly different powers. I wouldn't expect Google to be held to the same standard that I hold PG&E. Nor would I hold PG&E to the same restrictions I'd place on Google.


In my experience, happiness takes explicit effort. No one is entitled to happiness because they are “X”.

Everyone has their own unique situation. That situation is constantly changing and complex. So it needs constant explicit attention and effort to stay close to the desired state.


It is an indicator but far from real imo. Percentage of users that participate in the survey could be different across different OS too.


For me it is the usage of macros and traits everywhere.

Good luck if you want to get into the code of a library to understand what a function does. You have to go through 3 macros and 5 traits across 5 files. When it could have been just a couple function calls.

People don’t stop and think if they really need that trait or macro for five seconds, they just have to use it every time


I dislike macros for that reason when reading code on GitHub or Docs.rs, but Rust was kind of made to be used with an IDE (or LSP).


That is poor practice IMO. The simple reality of the world is that not everyone uses such tools. Designing a language with the expectation they will is deliberately ignoring the needs of some users.


IDEs were invented by a mix of XEROX PARC, Symbolics, TI efforts into graphical workstations development, we have moved beyond the point of refusal to adopt modern tooling.


Does this mean we have to run vlc in a sandbox while watching a downloaded film?


In production? With a user-supplied film?

You seem to be captured by the “all or nothing” security fallacy, when security must be viewed through the lens of (probability) x (impact)


They are async libraries built on io-uring though. Other mainstream async libraries also don’t go as deep as possible on epoll or other things either afaik


Really really hope they make it easy and ergonomic to integrate with single threaded cooperative scheduling paradigm like seastar or glommio.

I wrote a library that I use for this but it would be really nice to be able to cleanly integrate it into async/await.

https://github.com/steelcake/csio


I wrote a library that does single threaded cooperative scheduling and async I/O and from the ground up, it was designed to implement this interface.

https://github.com/lalinsky/zio


That's quite an unfortunate name given there's already a famous async framework named ZIO for Scala

https://github.com/zio/zio


I knew about this, but I think the language scope is so different that it's OK.


IMO they just don’t care enough. They want people to use it but it is not the end of world if it stays niche


[flagged]


> It's statistically very likely a hot chick does not know calculus.

It would be honestly interesting if someone actually did a study regarding it.

I do agree with this statement but it isn't as if everybody doesn't have other opportunity costs, people might have video games as hobbies or just normal hobbies in general as well which could be considered opportunity costs

The question to me which sounds more interesting which I feel like I maybe reading in the lines but does the society shower attention to beauty which can make them feel less susceptible to lets say calculus which might feel a lot more boring respectively?

Generally speaking, I was seeing this the other day but female involvement overall in the whole stem department has reduced in %'s iirc.

Another factor could be the weirdness or expectation. Like just as you think this, this is assumed by many people about hot chicks lets say, so if a hot chick is actually into calculus and she tells it, people would say things like oh wow I didn't know that or really?? which could feel weirdness or this expectation of them to not be this way and be conventional and not have interests it seems.

I have seen people get shocked in online communities if a girl is even learning programming or doing things like hyprland (maybe myself included as it was indeed rare)

Naturally I would love if more girls could be into this as I feel like talking to girls about my hobbies when she isn't that interested or not having common hobbies hurts me when I talk to them, they can appreciate it but I feel like I can tell them anything, I am not that deep of a coder right now as much as I am a linux tinkerer, building linux iso's from scratch, shell scripting and building some web services etc. , I like to tinker with software, naturally the word used in unix/foss communities for this is called hacking which should be the perfect way to describe what I mean except they think I am talking about cybersecurity and want me to "hack something", Sorry about this rant but I have stopped saying this hacking just because of how correlated it is to cybersecurity to the normal public. I just say that I love tinkering with software nowadays. Side note, but is there a better word for what I am saying other than hacking?


It sounds like you are a Linux UI designer.

Which is a rare thing in this space. Linux is rough around the edges, to say the least. You don't need me telling you. We are in a thread about how open sources software suck at UI design. We could use more people like you in this space.

The men aren't fussed with the "hacker" label. It sounds cool. It's like when people mistakenly think all Asians know Kung Fu or something. The Asian guy isn't complaining lol.

There's definitely stigma/sexism that deter women away from this field. But I think opportunity cost is a factor, gravely overlooked.

Society demands a lot from women, when it comes to appearance. The bar is set very high.

So high, you don't have the time to be a good programmer AND pretty. Unless you won the genetic lottery.

I follow women's basketball avidly. Some of the women are not pretty. They are just very good at basketball. It's refreshing to see women be valued, not just because of their beauty.


I think, statistically, it’s likely no one is a “hot chick” otherwise the phrase wouldn’t exist. I get what you’re saying though, personalities and natural talent/gifts pull people to a specialty that makes sense to them and therefore they get good at it.


I think you got everything backwards. I've seen a lot of people who are specialized in a non software domain learn programming and write their own projects. Very often these people know more about what they want to accomplish and work on than someone who has learned how to do software development properly, but has no clue about what software to develop.

I was that type of person when I started working. I had a burning passion to work on an open source project, but no clue what exactly to work on. Meanwhile at work the project manager gives me a ticket I'd execute rapidly to everyone's satisfaction.


No I think we are on the same page.

The people who specialized in non-software domain, and wrote their own projects, are amazingly talented.

They are not specializing in 1 field. They are so smart, they've managed to specialize in 2 fields.

I bet you they also suck at UI design. And wrote projects like Handbrake.

It's totally understandable.

I don't expect them to have the time to specialize in THREE fields. There is an opportunity cost to everything.


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

Search: