-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Scala 2.12 #457
Comments
Do you expect any problems around the upgrade? |
Do you expect cross-building? |
At least the following dependencies need to be updated:
|
Hi there, we don't expect any issues with upgrading, but of course will not
know until we build it.... thanks.
…On Wed, Jul 29, 2020 at 6:50 AM Szymon Matejczyk ***@***.***> wrote:
At least the following dependencies need to be updated:
1. Scalatest 2.2.6 -> > 3.0
2. Scalacheck 1.11 -> > 1.12.4
3. scalaxy-loops -- seems like it has never been updated to 2.12.
Recomemded to use scalaxy-streams of cfor from spire. Any suggestions?
(deeplearning4j/nd4s#108
<https://github.com/deeplearning4j/nd4s/issues/108>)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#457 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIDPWZDFMAYJYXDR5BXSHDR6ASJHANCNFSM4IKMUDBA>
.
--
If you are free, you need to free somebody else.
If you have some power, then your job is to empower somebody else.
--- Toni Morrison
Now is the time to understand more, so that we can fear less. --Marie Curie
|
Started doing this. |
Do you have any thoughts on |
I believe we could just try scalaxy-streams, which is supposed to be the
successor, but I haven't checked to make sure it has the same macros.
Yes, BasicFiloBenchmark is a great one to start with.
Thanks for the upgrade work!
…On Thu, Jul 30, 2020 at 1:15 PM Szymon Matejczyk ***@***.***> wrote:
Do you have any thoughts on scalaxy-loops? I should probably start with
comparing scalaxy loops with Scala 2.12 compiler optimisations. Will start
with BasicFiloBenchmark if you consider this one a good choice for pure
loops benchmarking.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#457 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIDPW5Z5BY4PXGF6RRBZQDR6HIGTANCNFSM4IKMUDBA>
.
--
If you are free, you need to free somebody else.
If you have some power, then your job is to empower somebody else.
--- Toni Morrison
Now is the time to understand more, so that we can fear less. --Marie Curie
|
Turns out scalaxy-streams neither support Scala 2.12... Could also use |
Some more context about optimising range loops: scala/bug#1338 (comment) |
The difference between Scala 2.11 + scalaxy loops and Scala 2.12 without scalaxy loops:
|
We are on par for most of them except: Do you run jmh benchmarks continuously and can confirm this results for all benchmarks? |
More benchmarks Scala 2.12 + no scalaxy + "-opt:l:inline", "-opt-inline-from:filodb.**", "-opt-warnings"
Scala 2.12 + no scalaxy + "-opt:l:inline", "-opt-inline-from:filodb.**", "-opt-warnings"
|
I'm biasing towards:
WDYT? |
Thanks, I'm personally fine with cforRange if it's mostly the same thing.
Just curious btw about your use case for 2.12 and FiloDB. We can take that
conversation offline though.
…On Fri, Jul 31, 2020 at 8:27 AM Szymon Matejczyk ***@***.***> wrote:
I'm biasing towards:
1. Drop scalaxy dependency altogether.
2. Use cforRange from spire that is the most similar to what we have
now.
WDYT?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#457 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIDPW2T6M4LSDQBPJVQVODR6LPFLANCNFSM4IKMUDBA>
.
--
If you are free, you need to free somebody else.
If you have some power, then your job is to empower somebody else.
--- Toni Morrison
Now is the time to understand more, so that we can fear less. --Marie Curie
|
I like your in memory implementation ( Besides, I wanted to get to know the project a bit better. |
Seems like the last blocker is The library seems to be not maintained. Do you have any suggestions on what to migrate to? |
So, we don’t control the sumac dependency….. not sure what we can do here, we might have to switch to something else.
… On Aug 4, 2020, at 12:29 PM, Szymon Matejczyk ***@***.***> wrote:
Seems like the last blocker is quantifind.sumac that is not released for 2.12...
quantifind/Sumac#56 <quantifind/Sumac#56>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#457 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAIDPW2HSS6MB3ABWYUWB4TR7BORHANCNFSM4IKMUDBA>.
|
Looks like there are two possibilities: scopt and scallop. The former looks more explicit, but needs more boilerplate. The later is more similar to sumac, because it can infer parameter names from configuration class file names. |
I think we already use one of them so I’d stick with whichever other one we use.
… On Aug 6, 2020, at 12:05 AM, Szymon Matejczyk ***@***.***> wrote:
Looks like there are two possibilities: scopt and scallop. The former looks more explicit, but needs more boilerplate. The later is more similar to sumac, because it can infer parameter names from configuration class file names.
I will go with the latter to keep the changes minimal unless you have strong opinions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#457 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAIDPW4FPGVZDJ7DXJBQZK3R7JI2XANCNFSM4IKMUDBA>.
|
Branch, version, commit
OS and Environment
JVM version
Scala version
Kafka and Cassandra versions and setup
Spark version if used
Deployed mode
(client/cluster on Spark Standalone/YARN/Mesos/EMR or default)
Actual (wrong) behavior
Steps to reproduce
Logs
or as attached file (see below)
Unused parts of this template should be removed (including this line).
The text was updated successfully, but these errors were encountered: