Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
mbel
8y ago
> Recently I converted the C++ part to C, which halved the size of the wasm file. So you are saying that "costless" abstractions of C++ actually had some cost? Who would have thought.
92.
▲
by
mbel
8y ago
> We are engaged on the issue and committed to looking at options... Full four months of engagement and commitment, that's pretty impressive.
93.
▲
by
mbel
8y ago
It's easy: she just needs to become a computer scientist.
94.
▲
by
mbel
8y ago
> For instance, pure rasterization cannot do shadows. Well... the technique that you describe (shadow mapping) is actually pure rasterization it just requires more than one rasterization pass. This also ignores the fact that there are
95.
▲
by
mbel
8y ago
Yeah, I'm absolutely aware what is happening here. Of course if they are creating slot machines they should follow the related regulations. However there is nothing that forces them to make actual games. If they can make business by se
96.
▲
by
mbel
8y ago
> Video game publishers have been trying consistently to implement a "less for more" attitude when it comes to their products. Isn't maximizing profits just a natural consequence of having a for-profit business? It's
97.
▲
by
mbel
8y ago
> So i wonder - how popular is using parcel lockers for e-commerce is in Poland? From my own experience: extremely. It's the default option, everything else is considered only if the parcel doesn't fit the locker.
98.
▲
by
mbel
8y ago
And is this situation any different from location logs based on mobile phone? It's obviously easier to leave s phone than a face at home, my point is that we have already pretty much agreed to be tracked most of the time.
99.
▲
by
mbel
8y ago
> dynamic loading and runtime modification of code, which modern systems rely on quite a lot under the hood Can you provide any example? I can't think of any and it sounds very interesting since you seem to be implying that it'
100.
▲
by
mbel
8y ago
If you are developing a compiler you will need to understand the output assembly. Learning to program in it is one way to get to know it. There is also plenty of little code snippets around run-time libraries and OS that are written directl
101.
▲
by
mbel
8y ago
Apart from potential performance issues I can't think of any other reason why not. Keep in mind however that games are made to be fun and sometimes ability to predict actions of not-so-smart AI opponent might be better that facing unpr
102.
▲
by
mbel
8y ago
> 5. Things I'm still looking for : Google Calender, Drive Fastmail provides a DavCAL calendar and some storage space with their email offering. They also have a wonderful browser client (much better that gmail at least for me).
103.
▲
by
mbel
8y ago
It was yesterday.
104.
▲
by
mbel
8y ago
For anybody else looking for explanation what this particular software does here is its home page: https://luna-lang.org/ It's a sort of WYSIWYG data processing environment.
105.
▲
by
mbel
8y ago
> Note that `malloc` is special in the C standard as well, and AFAIK it is not possible to implement `malloc` in standard C at all. malloc() is usually implemented in C [0] and to be honest I'm not sure why do you think it wouldn&#
106.
▲
by
mbel
8y ago
> yeah, there are standards, but they're actually ignored. There's lots of comments stories on HN about how C committee specified things that are unrealistic or outright impossible. Any examples? It sounds ridiculous, perhaps y
107.
▲
by
mbel
8y ago
Even more than architectures, there seems to be a tiny little bit of spite in everything IT related from programming language design (C++) to end-user facing software (Windows Update).
108.
▲
by
mbel
8y ago
> someone else's server Isn't that what cloud meant in the first place... and to be honest "nice package" sounds a little bit like a container.
109.
▲
by
mbel
8y ago
Explanation why fork of clang was required (as opposed to just improving clang) would also be interesting.
110.
▲
by
mbel
8y ago
> Most likely function call overhead Quite likely: https://godbolt.org/g/xGkCyA although it really depends on the compiler (gcc is smarter here). He also seems to be benchmarking printing more than anything else (he
111.
▲
by
mbel
8y ago
> Seriously, why didn't anyone invented it yet? Perhaps the user demand is not so big or even noticeable? It starts to make sense when you type in more than two languages regularly. I would argue that there are only couple of percen
112.
▲
by
mbel
8y ago
Nim doesn't meet all his requirements, it's garbage-collected. Complexity is hard to measure and rather subjective, but Nim in my opinion seems to be more complex than Zig.
113.
▲
Valve: We shouldn't be choosing what you're allowed to create or play
(gamasutra.com)
3 points
by
mbel
8y ago
|
0 comments
114.
▲
by
mbel
9y ago
> But I suspect of committe would depracate any features, mostly the same people would start nagging about not having backward compatibility? Isn't it reasonable to desire a language that is both backwards compatible and not very co
115.
▲
by
mbel
9y ago
But still can be (and is) used to implement some features from the standard library.
116.
▲
by
mbel
9y ago
In C obviously or you know, in inline assembly since it seems that it isn't going anywhere. But joking aside they could be implemented by the compilers similar to how std::function is implemented today.
117.
▲
by
mbel
9y ago
It seems to be a joke, they would have serious problem with backward compatibility with "this" pointer. Also it would limit the use cases for the language, unless they would introduce something like std::raw_ptr, which to be hones
118.
▲
by
mbel
9y ago
The fact that this headline cannot be distinguished from April Fools joke by other commenters seems to say a lot about the direction in which C++ standard committee is heading.
119.
▲
by
mbel
9y ago
It really depends on the target architecture (and ABI), size of the struct and how fields in the struct are defined, more than if it's C or C++. For simple examples like this one: https://godbolt.org/g/ZT3bJ3 ther
120.
▲
by
mbel
9y ago
I would say: yep, pretty much. Generally abusing "weaknesses" is considered evil, and the likeliness that something becomes considered a "weakness" seem to depend on how much damage can be done by abusing this trait.
More ›