Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sklogic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
811.
▲
by
sklogic
11y ago
OO is not the only robust way of representing uniform interfaces. OO preachers must stop claiming ownership of the concepts that existed long before OO, and are much better represented outside of thr OO blindfolded way of thinking.
812.
▲
by
sklogic
11y ago
Ok, choose the Ada modules instead. And Ada was used for many MLOC scale projects.
813.
▲
by
sklogic
11y ago
> that can masquerade under any interface - files, devices, windows or whatnot Why are you sledgehammering all these entities into this primitive and narrow way of thinking in the first place? They are different. And in order for diff
814.
▲
by
sklogic
11y ago
> that's not really controversial This is the most controversial part of it. I've got no problems with classes, objects, imperative methods, dynamic dispatch and all that - these are just semantic building blocks, sometimes us
815.
▲
by
sklogic
11y ago
Fundamentals as small, compact and trivial. Everyone can get a good grasp of all the basics before going on to any "real world" coding with its diverse, needless complexity.
816.
▲
by
sklogic
11y ago
A good developer must know at least about the standard latencies and about the memory hierarchy. Otherwise it is a really bad developer who is going to keep annoying the innocent users.
817.
▲
by
sklogic
11y ago
Modularity is about the large scale. OOP should not highjack the exclusive rights to the tools introduced long before it became popular. I'd always prefer the SML module system to anything OOP for a project of any scale.
818.
▲
by
sklogic
11y ago
http://www.stlport.org/resources/StepanovUSA.html
819.
▲
by
sklogic
11y ago
The beauty of this pretty-printing solution (merging it with the parser) is that you don't even need any parsing tree to be constructed. The parser will simply walk the stream and annotate it with the pretty-printing instructions (push
820.
▲
by
sklogic
11y ago
Depends on a wood. The traditional Caucasian huts are made of the fresh, wet willow, sand and the fresh goat dung. Once this hellish mixture settles it stands for centuries.
821.
▲
by
sklogic
11y ago
And yet, the best place to add your pretty-printing and indentation hints is parser. Hints are attached to the grammar, so it makes sense to merge the two things, and then generate two different tools out of the single source. Three, actual
822.
▲
by
sklogic
11y ago
For this sort of things I'm using an intermediate language (guess it's similar to what OP is talking about) with stack semantics: there are instructions like "PUSHINDENT", 'POPINDENT" and "INCINDENT"
823.
▲
by
sklogic
11y ago
And the other guys are even generating a hardware (plus a compiler toolchain) out of an ISA spec: https://en.wikipedia.org/wiki/LISA_(Language_for_Instruction...
824.
▲
by
sklogic
11y ago
It is using a gyroscope - so it's a bit of cheating. It could even have jumped a pogo stick just as well, without any fancy balancing that we humans have to perform.
825.
▲
by
sklogic
11y ago
To some extent, it does own it. Ever tried to push even a mildly controversial patch to LLVM or Clang upstream? If Apple guys are against it, it's a full stop, no matter how many other parties are interested. And their reasons to be ag
826.
▲
by
sklogic
11y ago
> No previous ISA vendor has even been in that position. Remember the transition from VAX to Alpha? And they kept the binary and source compatibility in quite an inventive way (with both binary translation and by making MACRO32 just anot
827.
▲
by
sklogic
11y ago
New ISAs keep appearing - in the GPU world nobody cares about any backward compatibility. Domain-specific ISAs make a lot of sense, and given the growing diversity of the Apple devices needs, they may really be ready to explore this possibi
828.
▲
by
sklogic
11y ago
> The resources required to produce and support a whole new ISA are a major investment It's not that hard, really. With such powerful tools as LLVM, a new ISA can even be designed and implemented with all the tooling by a very smal
829.
▲
by
sklogic
11y ago
> To buy you what? To get a powerful core language on top of which I can build anything in just a couple of hundreds of lines (e.g., a complete JavaScript - in order to get the rest of the libraries for free). Or a JVM. Or .NET CLR. Or w
830.
▲
by
sklogic
11y ago
5-6kloc is not "tons", it's just several days worth of work. And then I can build a compliant JavaScript implementation on top of this, in order to be able to parasite on 200k npm packages (actually, did this already).
831.
▲
by
sklogic
11y ago
Using a modal dialogue unless there is a genuine urgency should be considered a crime against humanity and punished accordingly.
832.
▲
by
sklogic
11y ago
Forth should not be in this list, it is a meta-language. It can be quickly turned into something equally or more powerful than you current Blub (pick any, does not matter).
833.
▲
by
sklogic
11y ago
You'd be surprised - there is an infinite hierarchy of abstractions above the primitive level you're talking about.
834.
▲
by
sklogic
11y ago
A way from your formal specification of a solution down to a particular language set of features can be enormously long. A trivial example can be translating a formal grammar - codified as just few lines of BNF - into a low level language (
835.
▲
by
sklogic
11y ago
Algorithms and data structures are on a too low level of abstraction in order to be useful in solving real world problems. Most problem domains are not expressed in terms of algorithms and data structures, they're rather formalised as
836.
▲
by
sklogic
11y ago
> The only relevant thing is your ability to formulate and solve problems. The maximum level of abstraction available for your language is indeed a hard upper limit on how you formulate and solve problems. Solving a complex problem on a
837.
▲
by
sklogic
11y ago
Gcc and make? Server management? Interesting. Anyway, I could never understand the meaning of this new buzzword. Can anyone explain what does a "full stack" developer mean? Is it something from the web world?
838.
▲
by
sklogic
11y ago
It's not VC4 GPU, which is fully documented and fairly open. The bootloader runs on VPU, for which the reverse engineering is the only option, because there were no resources for doing anything sane with the official internal docs, whe
839.
▲
by
sklogic
11y ago
The open source driver does not run on the VPU. And the bootloader had been reverse engineered (quite accurately, btw., although all the ISA mnemonics are totally made up). It should be possible now to rebuild it from assembly source.
840.
▲
by
sklogic
11y ago
As I explained elsewhere in this thread, the special relativity theory is a direct consequence of all the experimental evidence that existed on the electromagnetic phenomena. Formally merging Maxwell theory with the classical mechanics yiel
More ›