tokio is great and it's pretty performant, but you pay an allocation for every future unless you do some complex organization of your futures.
Source: I worked on Deno, competed directly with Bun on HTTP performance (and won on some metrics).
Edit: and of course I typed future instead of task (aka "spawned future"). Thanks, child commenters below. Much of Deno was built on spawning futures that mapped to promises and doing it as fast as possible. I spent ages writing a future arena to optimize this stuff..
You only allocate on box futures, which are much more rare than naked futures - generally only used where object safety (essentially dyn support) is required. Even then some workarounds exist.
I don't understand how prevalent Aspartame and other artificial sweeteners are when they taste so bad. They don't even taste sweet to me, just "wrong" in a way that permeates my entire mouth.
It's just a preference thing. They taste bad _to you_, not to everyone.
Even among people that like artificial sweeteners, people have preferences. I prefer pink and my wife prefers yellow. When I'm forced to use yellow, I just can't enjoy the drink as much.
And, yes, it's a totally different kind of "sweet" for each of them. So if you're expecting "sugar sweet", it won't be that for the others.
Cilantro really tastes different from one person to another (relative to the aldéhyde content of cilantro and genetic variations). I don't know about sugar and aspartame but saying that it is purely a "preference" looks a little bit presomptuous to me.
To the previous poster: do other intense sweeteners (stevia, saccharin, sucralose) taste sweet to you?
They all have variations of a bitter aftertaste to me. It’s not sweet or pleasant at all.
And it’s a different form of bitterness than the one you get from kale/collared greens, brussel sprouts, etc., whichi quite enjoy. I _almost_ want to drink a diet drink along with one of the “bitter” vegetable or even a crème brûlée to quantify the difference.
I don't think you understand. That's like saying mud is a preference over sugar. It's not sweet to me. It's not even in the same ballpark. I'd have to completely re-orient my taste buds because it literally tastes like dirt or dust without a hint of the same flavour.
You're conflating two different things. Unless you have some very weird genetic condition, it does taste sweet to you. That is, it activates the same sweet receptors on your tongue and in other parts of your mouth that sugar activates - and more or less to the same extent (relative to concentration).
However, sugar isn't simply a sweet taste. It also has some amount of flavor, and so do the artificial sweeteners, and it is these flavor differences that you (and many others) dislike. Flavor is something that happens in the air tract, and is far more complex than taste.
It absolutely does not. The places on my tongue that taste sweet and the places that taste aspartame are completely different (the latter strongly at back of my throat, sugar strongly on my tongue).
No, this is pretty common in folks who don't drown their taste buds and systems in tons of it every day. Then you feel it anytime its there, since its pretty rare and its disgusting chemical bleh, one feels it fully.
Its a bit like smoking cigarettes - to many non-smokers, its disgusting beyond description, smearing face with old feces wouldn't be worse. To many smokers its mild, pleasant, they enjoy it with lunch etc.
Most soft drinks are not made with artificial sweeteners.
Where are you that the only available soft drinks are artificially sweetened? Never been to a restaurant or fast food place or grocery store that only carried the diet/zero and didn't carry the standard coke or pepsi.
At this point I think it almost definitely is "most" in USA at least, going by volume/count/shelf-space.
Like >90% of energy drinks use at least one (normal red bull is a rare exception), and diet sodas typically have more shelf space than regular from what I see, often by a huge margin.
Almost all gatorade-likes have it now too (I typically can't find even a single counter-example in a store, unless they're one of the oddballs carrying regular gatorade (most do not)), often also including regular sugars. Even stuff you'd hope would be maximally-simple like pedialyte has it in almost every variety.
Almost literally every single water-flavoring in stores uses them, I go years without seeing unsweetened or sugar only. skratchlabs.com is sometimes in expensive bike or running stores though, yay.
Stuff like Liquid Death used to be just low amounts of sugar, but now has stevia in it too. The same happened with Bragg's drinking vinegar(???!).
It's wild to be someone who dislikes the flavor of these things and read labels, and watch the massive rise in use in despair. They're in lots of candy bars now too! That was a rather nasty discovery.
Aspartame has a pretty strong, weird metallic flavor to it, and a lot of the sugar alcohols taste... idk, like a belch after a slightly sweet chemical cocktail? Some taste... airy, or dusty, like an absence of flavor, like there's a gap where you'd usually taste something. Hard to describe but very unpleasant. And the flavor lingers for quite a while. Xylitol is mostly alright tho, sadly it's usually blended with other stuff nowadays.
Personally though I think stevia might be the worst, and it's getting added to everything lately, even stuff with more than enough regular sugar.
Honestly I'd prefer to not taste that, since I think most probably are pretty safe and fine (though I would be glad to see a reduction in sweetness in general). But it's really not a choice, nor have I "gotten used to it" in 40 years, despite it being extremely common.
This summarizes pretty well the three main problems I have. Most things are already way too sweetened, the trend of adding artificial sweeteners to something already naturally sweet ruins something that could be good, and many artificial sweeteners taste metallic and have weird aftertaste.
Its one thing for soda or other sweet items, I get the reduction in sugars there. Its just boggling how many foods people, particularly americans cant eat unless its sweet enough to be dessert
You know what, it's exactly what everything tasted like the week that I discovered that grown-ups could catch hand, foot and mouth from their children and also what my toddler was so upset about.
When I drink a non-diet cola, it tastes awful to me; sickeningly sweet. I don't have any problem with diet colas (though I don't like Diet Pepsi, it's slimy to me).
The main point is that it's not that X has an awful taste. It's that different people have different reactions to different Xs. It's not that X tastes bad unless you happen to get used to it.
I also found it super gross but after a few weeks of tough endurance, the chemical taste subsided and disappeared. It comes back after a week or so without Diet Coke.
But yeah I could hardly swallow it in the beginning.
It's an acquired taste. All alternative sweeteners taste differently from sugar. These days, I appreciate that such beverages don't leave a film in my mouth and have a little extra bite compared to sugar.
I think it's interesting that people go through effort to acquire tastes for various formats of alcohol, dark chocolate, black coffee. A taste for aspartame is more useful to acquire than any of those, in my opinion, but alas it's not associated with refinement and sophistication.
It's better to think of flavors as different rather than strictly better or worse.
It's an acquired taste. I felt the same way, but when I started trying to get fitter a lot of protein supplements (protein drinks, protein bars, etc) contained artificial sweeteners. After eating these for a bit I got used to the flavour profile and even started to like some aspects of it.
The best comparison is beer. The first time I had it, I thought it was kind of gross. After trying it a few more times you get used to the bitter and fermented notes and the taste becomes more pleasant.
I felt the same way, they used to taste awful to me, now I only notice a slight difference between Dr Pepper zero and regular. Maybe I just got older and my taste buds degraded?
A lot of the “zero” soft drinks are sweetened differently from the “diet” ones. There’s often a mix of different sweeteners so you don’t get too much of any one aftertaste.
The one we’re trying to avoid the most in my household is sucralose. Genotoxicity and upregulating inflammation and oxidative stress are bad things. Accumulating unchanged in the environment and resisting biodegradation is a bad thing.
What I find weird is the assumption that everyone would like soda with artificial sweeteners, but I guess other don't taste it the same way. There are restaurants where I just give up and just get water. Strange because I assumed much of their profit came from drinks.
I know a few people like myself, that won't drink artificially sweetened soda, but we are the minority. Mostly people are confused when you tell them you don't like the taste, and that you drink so few sodas that the sugar doesn't make any difference in terms of health anyway.
I am convinced that something weird is going on with Pepsi Max though, the about of that stuff being consumed is absolutely insane. At events it not even close, it's Pepsi Max that people primarily consume.
I felt this same way all my life, until 6-months ago, when I found a flavored sugar free mix I actually liked.
I returned from vacation in Mexico, where I was drinking Coke with sugar. When I returned home, regular Coke, made with Corn Syrup in the U.S., tasted off. I decided to take the opportunity to stop drinking it.
I tried dozens of low calorie drink mixes and found one I could tolerate. I did some research and all things pointed to that being healthier than my Coke habit.
My tastes have changed again since starting this, but I don’t drink Coke anymore.
One thing that might have helped was drinking aspartame in my coffee, where its aftertaste is harder to detect.
I should mention the only good side effect I’ve had is a little less bloating, probably a result of avoiding carbonation. I haven’t lost any weight by the change. It’s also much easier to make a diet work when I’m not consuming 800 calories from Coke everyday.
For me it was a persistence thing. Keep drinking and you don't really notice it any more. If anything sugared drinks now feel overly sticky or caramel-like to me. I can no longer enjoy non-diet coke.
Maybe, while I can relate to this feeling when it comes to some sweeteners commonly used in baked goods, I genuinely habe a hard tile distinguishing between sugar and sweetener containing beverages at this lokng.
Acquired taste. Ten years ago, I switched from a sugar-based soft drink to one with Aspartame - it didn’t taste great at first. Now the sugary one tastes awful, while the Aspartame one tastes great ¯\_(ツ)_/¯
The others are mostly focusing on wholesale differences between individuals but, for me at least, it more depends on how it's used as well. E.g. Diet Coke tastes disgusting to me compared to normal Coke (Zero somewhere in the middle) while Dr Pepper Zero tastes great, better than the normal version by quite a lot (in my opinion) even. Both use Aspartame.
I actually hate the taste of sugar in sodas after switching to diet for long enough. Taste is subjective and your preferences can change. That being said, saccharine is probably the better tasting of all of them, and the most maligned.
I've wondered this myself. The aftertaste on some of them is vile. The disappointing thing is that so many products use them when they reduce sugar, but sometimes I just want a reduced sugar product without any additional sweeteners. That seems hard to find these days.
I've been curious about the just-less-sugar idea myself. Like how would a Coca-Cola "dry" taste? Maybe the fact that nobody is offering this just means it doesn't taste good.
Some other countries have products with less sugar than the US's version. Fanta is a noticeable one. I just want a late afternoon beverage that isn't alcohol, doesn't have a crap ton of sugar, has no sugar substitutes, and isn't too heavy on the caffeine. Might go back to decaf.
Coca-Cola tried at least twice to market half-sugar Coke (C2 and Life). But instead of just doing half-sugar, they added aspartame and stevia respectively to compensate...
Looking through Wikipedia at least, it's not exactly clear to me. They have separate pages for 'binary recompiler' and 'binary translation' that link to each other, and the latter is more about going between architectures (which is the main objective here).
Marketplaces are famously difficult to start - even Uber just started with black car service in a handful of cities and expanded from that. Find a trusted network of mules as your supply-side and expect to lose some money as you bootstrap.
You should already know what your largest city-to-city routes might be at this point, so why not focus on economy of scale there? If you need to rent a cube van to make it happen, do that.
it's a great reminder that Uber wasn't a 2-sided marketplace to begin with, just an on-demand black car service, and Travis drove early on. The marketplace model came later, copying Lyft, more as a low-cost expansion strategy than a business model.
I run a Rust webserver on a literal Pi3 in my basement and I think I managed to bench it up >1000 rps for standard loads. And that includes a bunch of tanvity querying as well.
I suspect I could do 3000+ rps with some tuning and a more modern CPU or hetzner VPS, but there's some fun cachet from running on an old Pi while there's still headroom.
I think the ideal way for these LLMs to work will be using AST-level changes instead of "let me edit this file".
grit.io was working on this years ago, not sure if they are still alive/around, but I liked their approach (just had a very buggy transformer/language).
Source: I worked on Deno, competed directly with Bun on HTTP performance (and won on some metrics).
Edit: and of course I typed future instead of task (aka "spawned future"). Thanks, child commenters below. Much of Deno was built on spawning futures that mapped to promises and doing it as fast as possible. I spent ages writing a future arena to optimize this stuff..
reply