# k 3.0 vs q

**URL:** <https://forum.kx.com/t/k-3-0-vs-q/7418>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [November 14, 2011, 12:21pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418 "2011-11-14T12:21:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuentang](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kuentang](https://forum.kx.com/u/kuentang)\
**Post date:** [November 14, 2011, 12:21pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/1 "2011-11-14T12:21:00Z")

</div>

Hi all,today i tested the k 3.0 version, and i need to say that the k 3.0offers more features than the actual q version. At least there areplotting functions available. Ok, now i am using matlab for plotting,but it is not fun always switching to matlab and then back.My question is why is q a more advanced version than the k 3.0version?It is because the table is first class citizen in q ?Thx for any comments and answers.Best,Kim

---

<div class="post-metadata">

**Author:** ![P\_Bukowinski1](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@P\_Bukowinski1](https://forum.kx.com/u/P_Bukowinski1)\
**Post date:** [November 14, 2011, 1:10pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/2 "2011-11-14T13:10:00Z")

</div>

The answer seems to be pretty simple;  
KX claims their technology to be cutting edge? tool to store, analyse and maintain huge amount of tick data not present it (check panaopticon).

GUI was hard to maintain, hence not the main focus.  
When they decommissioned those features they put 100% effort to improve performance and ‘rock solidness’.

This implies that its not targeted to be used on PC’s so much, but mainframes etc.

I’m sure you are aware you can write simple plotting clients in any awailable API.

Of course q syntactic sugar is natural step forward, though you can still switch to k anytime.

Cheers ,  
Patryk.

Sent from droid GSII.

---

<div class="post-metadata">

**Author:** ![Rohit\_Tripathi](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@Rohit\_Tripathi](https://forum.kx.com/u/Rohit_Tripathi)\
**Post date:** [November 14, 2011, 2:56pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/3 "2011-11-14T14:56:00Z")

</div>

This might also help:[https://groups.google.com/group/personal-kdbplus/msg/f18fb3a8f69fc875](https://groups.google.com/group/personal-kdbplus/msg/f18fb3a8f69fc875)

---

<div class="post-metadata">

**Author:** ![kuentang](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kuentang](https://forum.kx.com/u/kuentang)\
**Post date:** [November 14, 2011, 3:17pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/4 "2011-11-14T15:17:00Z")

</div>

\>\>\> This might also help:Yes, this answer seems to make more sense. But even that they dontneed to take the plotting function out of kdb+.ThxBest,KimOn 14 Nov., 15:56, Rohit Tripathi \<rohit.x.tripa…\> wrote:\> This might also help:\>\> [https://groups.google.com/group/personal-kdbplus/msg/f18fb3a8f69fc875](https://groups.google.com/group/personal-kdbplus/msg/f18fb3a8f69fc875)\</rohit.x.tripa…\>

---

<div class="post-metadata">

**Author:** ![Rohit\_Tripathi](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@Rohit\_Tripathi](https://forum.kx.com/u/Rohit_Tripathi)\
**Post date:** [November 14, 2011, 3:41pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/5 "2011-11-14T15:41:00Z")

</div>

Graphics are platform dependent. I’d like graphics too, but in the  
form of shared libraries that may be loaded optionally. At the same  
time, an interface to R exists so matters are not so simple.

Only physics can stop you from doing something!

---

<div class="post-metadata">

**Author:** ![Aaron\_Davies](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Aaron\_Davies](https://forum.kx.com/u/Aaron_Davies)\
**Post date:** [November 15, 2011, 3:54am UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/6 "2011-11-15T03:54:00Z")

</div>

To: personal-kdbplus@googlegroups.comX-Mailer: Apple Mail (2.1084)\> My question is why is q a more advanced version than the k 3.0 version?\> \> It is because the table is first class citizen in q ?it’s 64-bita day of NYSE trading hasn’t fit in a 32-bit address space in over five years

---

<div class="post-metadata">

**Author:** ![AE1](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@AE1](https://forum.kx.com/u/AE1)\
**Post date:** [November 15, 2011, 2:19pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/7 "2011-11-15T14:19:00Z")

</div>

Very interesting, thank you.

For me it was strange to hear that Q tables are not dict of lists like  
it was in KDB+. Because kdb described many advantages of column-based  
tables.

---

<div class="post-metadata">

**Author:** ![felix1](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@felix1](https://forum.kx.com/u/felix1)\
**Post date:** [November 15, 2011, 3:51pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/8 "2011-11-15T15:51:00Z")

</div>

it is conceptually a list of dicts (list of rows) but not physically.  
the tables are implemented as dictionary like k3 but marked as “flipped”.

2011/11/15 Alexander Epifanov :  
\> Very interesting, thank you.  
\>  
\> For me it was strange to hear that Q tables are not dict of lists like  
\> it was in KDB+. Because kdb described many advantages of column-based  
\> tables.  
\>  
\> On Mon, Nov 14, 2011 at 3:56 PM, Rohit Tripathi  
\> \<rohit.x.tripathi\> wrote:  
\>\> This might also help:  
\>\>  
\>\> [https://groups.google.com/group/personal-kdbplus/msg/f18fb3a8f69fc875](https://groups.google.com/group/personal-kdbplus/msg/f18fb3a8f69fc875)  
\>\>  
\>\> –  
\>\> You received this message because you are subscribed to the Google Group=  
s “Kdb+ Personal Developers” group.  
\>\> To post to this group, send email to [personal-kdbplus@googlegroups.com](mailto:personal-kdbplus@googlegroups.com).  
\>\> To unsubscribe from this group, send email to personal-kdbplus+unsubscri=  
[be@googlegroups.com](mailto:be@googlegroups.com).  
\>\> For more options, visit this group at [http://groups.google.com/group/per=](http://groups.google.com/group/per=)  
sonal-kdbplus?hl=3Den.  
\>\>  
\>\>  
\>  
\>  
\>  
\> –  
\> Regards,  
\> =A0 Alexander.  
\>  
\> –  
\>

Submitted via Google Groups\</rohit.x.tripathi\>

---

<div class="post-metadata">

**Author:** ![AE1](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@AE1](https://forum.kx.com/u/AE1)\
**Post date:** [November 15, 2011, 3:59pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/9 "2011-11-15T15:59:00Z")

</div>

Sorry, it is not not clear what does it mean \_marked\_ as “flipped”. (I  
know that is flip :) ).

Physically in memory is it ((`one `two); (`a; 1); (`b; 2); (`c; 3)) or .((`one; (`a `b `c)); (`two; (1 2 3))) ?

Regards,

---

<div class="post-metadata">

**Author:** ![felix1](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@felix1](https://forum.kx.com/u/felix1)\
**Post date:** [November 15, 2011, 4:19pm UTC](https://forum.kx.com/t/k-3-0-vs-q/7418/10 "2011-11-15T16:19:00Z")

</div>

it is literally what i meant  
the structure that holds the data is a dict with column names being  
the keys and the values are the columns as vectors.

the “marked” is small structure that embeds the dictionary.

2011/11/15 Alexander Epifanov :  
\> Sorry, it is not not clear what does it mean _marked_ as “flipped”. (I  
\> know that is flip :) ).  
\>  
\> Physically in memory is it ((`one `two); (`a; 1); (`b; 2); (`c; 3)) or<br>&gt; .((`one; (`a `b `c)); (`two; (1 2 3))) ?  
\>  
\> Regards,  
\>  
\>  
\> On Tue, Nov 15, 2011 at 4:51 PM, Felix LUNGU \<felix.lungu\> wrot=  
e:  
\>\> it is conceptually a list of dicts (list of rows) but not physically.  
\>\> the tables are implemented as dictionary like k3 but marked as “flipped”=  
.  
\>\>  
\>\>  
\>\> 2011/11/15 Alexander Epifanov :  
\>\>\> Very interesting, thank you.  
\>\>\>  
\>\>\> For me it was strange to hear that Q tables are not dict of lists like  
\>\>\> it was in KDB+. Because kdb described many advantages of column-based  
\>\>\> tables.  
\>\>\>  
\>\>\> On Mon, Nov 14, 2011 at 3:56 PM, Rohit Tripathi  
\>\>\> \<rohit.x.tripathi\> wrote:  
\>\>\>\> This might also help:  
\>\>\>\>  
\>\>\>\> [https://groups.google.com/group/personal-kdbplus/msg/f18fb3a8f69fc875](https://groups.google.com/group/personal-kdbplus/msg/f18fb3a8f69fc875)  
\>\>\>\>  
\>\>\>\> –  
\>\>\>\> You received this message because you are subscribed to the Google Gro=  
ups “Kdb+ Personal Developers” group.  
\>\>\>\> To post to this group, send email to personal-kdbplus@googlegroups.com=  
.  
\>\>\>\> To unsubscribe from this group, send email to personal-kdbplus+unsubsc=  
[ribe@googlegroups.com](mailto:ribe@googlegroups.com).  
\>\>\>\> For more options, visit this group at [http://groups.google.com/group/p=](http://groups.google.com/group/p=)  
ersonal-kdbplus?hl=3Den.  
\>\>\>\>  
\>\>\>\>  
\>\>\>  
\>\>\>  
\>\>\>  
\>\>\> –  
\>\>\> Regards,  
\>\>\> =A0 Alexander.  
\>\>\>  
\>\>\> –  
\>\>\> You received this message because you are subscribed to the Google Grou=  
ps “Kdb+ Personal Developers” group.  
\>\>\> To post to this group, send email to [personal-kdbplus@googlegroups.com](mailto:personal-kdbplus@googlegroups.com).  
\>\>\> To unsubscribe from this group, send email to personal-kdbplus+unsubscr=  
[ibe@googlegroups.com](mailto:ibe@googlegroups.com).  
\>\>\> For more options, visit this group at [http://groups.google.com/group/pe=](http://groups.google.com/group/pe=)  
rsonal-kdbplus?hl=3Den.  
\>\>\>  
\>\>\>  
\>\>  
\>\> –  
\>\> You received this message because you are subscribed to the Google Group=  
s “Kdb+ Personal Developers” group.  
\>\> To post to this group, send email to [personal-kdbplus@googlegroups.com](mailto:personal-kdbplus@googlegroups.com).  
\>\> To unsubscribe from this group, send email to personal-kdbplus+unsubscri=  
[be@googlegroups.com](mailto:be@googlegroups.com).  
\>\> For more options, visit this group at [http://groups.google.com/group/per=](http://groups.google.com/group/per=)  
sonal-kdbplus?hl=3Den.  
\>\>  
\>\>  
\>  
\>  
\>  
\> –  
\> Regards,  
\> =A0 Alexander.  
\>  
\> –  
\>

Submitted via Google Groups\</rohit.x.tripathi\>\</felix.lungu\>
