Live data from Hacker News

Impending kOS

archive.vector.org.uk

61–70 of 242 posts

Re: Impending kOS

#61
post #36

k/q really doesn't have to be this unreadable, that's just Arthurs style. Here's some code in C by him for comparison: http://kx.com/q/cs107/a.c

Q isn't unreadable. Its implemented in standard English words. http://code.kx.com/wiki/Reference K is considered unreadable by many.

I was more referring to the almost exclusive use of single letter variable names. If one would use at least short words to name things, the implementation would be a whole lot more understandable.

Re: Impending kOS

#62
post #50

Earlier quoted context omitted.

It does not matter. This is not a programming language; languages are designed for human comprehension. Human comprehension is an irreducible part of the whole paradigm of programming, being necessary to understand the nearly always complex logic required to describe anything of value. This is gibberish. It fails at the one task of a programming language: to translate something a human can understand into something a…

[deleted]

Well, he's right in a code-commenting way.

If you have a sudoku solver that's entirely commented by the phrase 'sudoku', that's generally an indicator of code that is optimized for the computer rather than the reader--regardless of the language used.

Re: Impending kOS

#63
post #7
post #3

Here's the text editor they're talking about: http://www.kparc.com/edit.k The code is, well, not the easiest to understand.

Here is the four line version: http://www.kparc.com/$/edit.k (lines beginning with / are comments)

Since I don't know how to read K, and it's not really very friendly to amateurs who're just scanning a program without a reference open... is this equivalent to a bare C program implementing an editor with no libraries, or is it relying on stuff the system provides?

Re: Impending kOS

#64
post #34

> kOS is coming. Nothing will be the same afterwards. There seems to be this strange idea going around that if we just get the right tool, everything else is going to change forever. I see this a lot with people trying to create IDEs that let non-programmers create programs without really knowing how to code. But the thing is, most people just don't have anything worth coding. The problem isn't that the tools don't e…

If I am from another planet, and say I don't know why programs are so big and slow and buggy, and the most complicated program you see I've produced is a glorified calculator, it's too easy to be patronising and say well, that's because you haven't done anything complicated . However if I then show you a programming language, a database engine (similar in capability to SQL but around 1000x faster), a graphical deskto…

>And I think it should be obvious: You've built bridges for thousands of years, so you expect you're pretty good at it now, and yet there are still improvements in bridgemaking today

Right, and I'm not saying programming won't improve. It obviously has. No one wants to write a web app in C++ or assembly. What I'm specifically taking issue with is the idea that there is some sort of monumental change out there that is going to enable us to do... what exactly?... well no one can really answer that, but the claim is that it is big and exciting and will change everything.

Re: Impending kOS

#65

Earlier quoted context omitted.

Ridiculous comment. Have you at least tried q? K? Kdb+?

I've worked with and later run the kdb/q stack for a couple of years at a financial services firm. I certainly enjoyed it but I've also seen the downsides of it, and according to my experience it does not worth the investment, and the biggest reason behind its adoption is A.W.'s relations with the financial industry. By the way, I really don't want to go into anything personal but your comments represent the attitude…

It is a fun environment and the community is very friendly and smart too. Its widespread adoption in finance is because it is a proven tool for processing the huge datasets that other systems cannot. If you have a business case for that, clearly it can be a worthwhile investment. Other industries are beginning to see value in leveraging their data sets and that's probably why after being in the business for 20+ years kx continues to expand their customer base; note they now have pharma and energy customers. Yes, there are difficulties involved in managing huge data sets, but IMO no other tools does it better than kdb+.

Re: Impending kOS

#66
post #14

Earlier quoted context omitted.

That's an understatement. If we are allowed code like this, I can write an editor in ONE line of JavaScript. :)

Note that his lines are Can you write this editor in one line of less than 6000 chars of javascript (without a "textarea")?

Does that k code implement cursor-movement / scrolling / etc itself, or is it relying on some sort of system functionality for it?

Re: Impending kOS

#67
post #42

I'm interested in a kOS with a "god says ..." program built in ...

get Terry Davis on the job. Is he opposed to porting his holy code to other esoteric platforms?

Re: Impending kOS

#68
post #36

k/q really doesn't have to be this unreadable, that's just Arthurs style. Here's some code in C by him for comparison: http://kx.com/q/cs107/a.c

If that's true, why aren't there DSLs that compile to k?

Re: Impending kOS

#69
post #51
post #35

The last line of TFA reads like the beginning of some sort of movie in the drama/thriller category. "kOS is coming. Nothing will be the same afterwards." That's what irritated me most. What I'd like to understand is - what led the author to this particular conclusion? Is it the fact that this language is super expressive and concise? Is it that it routinely [1] outperforms its C counterparts even if it ultimately tra…

What you're actually seeing is testimony: people saying they are seeing something amazing, and they aren't very good at explaining what they saw. Btw: k doesn't translate to C. It's actually a quite simple interpreter. The fact that it outperforms other languages so easily should be saying more about those languages than it should be saying anything about k.

Well, does there exist a technical analysis written by someone who understands k that explains why it is so much faster than X languages?
Post reply on HN